summaryrefslogtreecommitdiffstats
path: root/fs/hfs/super.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-12-18 11:19:14 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2011-01-12 20:02:45 -0500
commit518c79d28e22f657fec399ef5bf0d50b13f7e9b0 (patch)
tree99640745d2c1b9a72e98eeb36df80a7e5080c8f1 /fs/hfs/super.c
parentc6cb412366e8f338baae7300b9f1961f3e559a24 (diff)
downloadop-kernel-dev-518c79d28e22f657fec399ef5bf0d50b13f7e9b0.zip
op-kernel-dev-518c79d28e22f657fec399ef5bf0d50b13f7e9b0.tar.gz
switch hfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfs/super.c')
-rw-r--r--fs/hfs/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/hfs/super.c b/fs/hfs/super.c
index 0bef62a..1b55f70 100644
--- a/fs/hfs/super.c
+++ b/fs/hfs/super.c
@@ -429,13 +429,12 @@ static int hfs_fill_super(struct super_block *sb, void *data, int silent)
if (!root_inode)
goto bail_no_root;
+ sb->s_d_op = &hfs_dentry_operations;
res = -ENOMEM;
sb->s_root = d_alloc_root(root_inode);
if (!sb->s_root)
goto bail_iput;
- d_set_d_op(sb->s_root, &hfs_dentry_operations);
-
/* everything's okay */
return 0;
OpenPOWER on IntegriCloud