diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-07-18 06:20:23 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-07-18 06:20:23 -0400 |
| commit | cd569ef5d6ff9f43e9504f1ffc7fdbe356518149 (patch) | |
| tree | 9a4ab5e600fd09e991aa1fbb69adb1c7950898a4 /fs/configfs/inode.c | |
| parent | 6879827f4e08da219c99b91e4e1d793a924103e3 (diff) | |
| parent | 5b664cb235e97afbf34db9c4d77f08ebd725335e (diff) | |
Merge branch 'linus' into x86/urgent
Diffstat (limited to 'fs/configfs/inode.c')
| -rw-r--r-- | fs/configfs/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/configfs/inode.c b/fs/configfs/inode.c index b9a1d810346d..4803ccc94480 100644 --- a/fs/configfs/inode.c +++ b/fs/configfs/inode.c | |||
| @@ -247,7 +247,9 @@ void configfs_hash_and_remove(struct dentry * dir, const char * name) | |||
| 247 | if (!sd->s_element) | 247 | if (!sd->s_element) |
| 248 | continue; | 248 | continue; |
| 249 | if (!strcmp(configfs_get_name(sd), name)) { | 249 | if (!strcmp(configfs_get_name(sd), name)) { |
| 250 | spin_lock(&configfs_dirent_lock); | ||
| 250 | list_del_init(&sd->s_sibling); | 251 | list_del_init(&sd->s_sibling); |
| 252 | spin_unlock(&configfs_dirent_lock); | ||
| 251 | configfs_drop_dentry(sd, dir); | 253 | configfs_drop_dentry(sd, dir); |
| 252 | configfs_put(sd); | 254 | configfs_put(sd); |
| 253 | break; | 255 | break; |
