diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 20:44:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 20:44:21 -0400 |
commit | 501b7c77de3e90519e95fd99e923bf9a29cd120d (patch) | |
tree | f7dc56286e7309186f335d32f03434e82f31a41d /fs/configfs/dir.c | |
parent | 74e651f0aa100f3e5d3432a8dd8869c089e8d72f (diff) | |
parent | 184d7d20d352c7374f70ebca7468dc8cd5cc618a (diff) |
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfasheh/ocfs2:
ocfs2: remove redundant NULL checks in ocfs2_direct_IO_get_blocks()
ocfs2: clean up some osb fields
ocfs2: fix init of uuid_net_key
ocfs2: silence a debug print
ocfs2: silence ENOENT during lookup of broken links
ocfs2: Cleanup message prints
ocfs2: silence -EEXIST from ocfs2_extent_map_insert/lookup
[PATCH] fs/ocfs2/dlm/dlmrecovery.c: make dlm_lockres_master_requery() static
ocfs2: warn the user on a dead timeout mismatch
ocfs2: OCFS2_FS must depend on SYSFS
ocfs2: Compile-time disabling of ocfs2 debugging output.
configfs: Clear up a few extra spaces where there should be TABs.
configfs: Release memory in configfs_example.
Diffstat (limited to 'fs/configfs/dir.c')
-rw-r--r-- | fs/configfs/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/configfs/dir.c b/fs/configfs/dir.c index 207f8006fd6c..df025453dd97 100644 --- a/fs/configfs/dir.c +++ b/fs/configfs/dir.c | |||
@@ -211,7 +211,7 @@ static void remove_dir(struct dentry * d) | |||
211 | struct configfs_dirent * sd; | 211 | struct configfs_dirent * sd; |
212 | 212 | ||
213 | sd = d->d_fsdata; | 213 | sd = d->d_fsdata; |
214 | list_del_init(&sd->s_sibling); | 214 | list_del_init(&sd->s_sibling); |
215 | configfs_put(sd); | 215 | configfs_put(sd); |
216 | if (d->d_inode) | 216 | if (d->d_inode) |
217 | simple_rmdir(parent->d_inode,d); | 217 | simple_rmdir(parent->d_inode,d); |
@@ -330,7 +330,7 @@ static int configfs_detach_prep(struct dentry *dentry) | |||
330 | 330 | ||
331 | ret = configfs_detach_prep(sd->s_dentry); | 331 | ret = configfs_detach_prep(sd->s_dentry); |
332 | if (!ret) | 332 | if (!ret) |
333 | continue; | 333 | continue; |
334 | } else | 334 | } else |
335 | ret = -ENOTEMPTY; | 335 | ret = -ENOTEMPTY; |
336 | 336 | ||
@@ -931,7 +931,7 @@ int configfs_rename_dir(struct config_item * item, const char *new_name) | |||
931 | 931 | ||
932 | new_dentry = lookup_one_len(new_name, parent, strlen(new_name)); | 932 | new_dentry = lookup_one_len(new_name, parent, strlen(new_name)); |
933 | if (!IS_ERR(new_dentry)) { | 933 | if (!IS_ERR(new_dentry)) { |
934 | if (!new_dentry->d_inode) { | 934 | if (!new_dentry->d_inode) { |
935 | error = config_item_set_name(item, "%s", new_name); | 935 | error = config_item_set_name(item, "%s", new_name); |
936 | if (!error) { | 936 | if (!error) { |
937 | d_add(new_dentry, NULL); | 937 | d_add(new_dentry, NULL); |