summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/super.c
diff options
context:
space:
mode:
authorAl Viro2011-01-12 22:12:05 +0100
committerAl Viro2011-01-13 02:02:47 +0100
commit43d344d7722f9b914849ba0014342111a9a0b03e (patch)
treec82358306b77b2ccf94059de02fb3df3ac1593af /fs/hpfs/super.c
parentswitch cgroup (diff)
downloadkernel-qcow2-linux-43d344d7722f9b914849ba0014342111a9a0b03e.tar.gz
kernel-qcow2-linux-43d344d7722f9b914849ba0014342111a9a0b03e.tar.xz
kernel-qcow2-linux-43d344d7722f9b914849ba0014342111a9a0b03e.zip
switch hpfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hpfs/super.c')
-rw-r--r--fs/hpfs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
index 49935ba78db8..b30426b1fc97 100644
--- a/fs/hpfs/super.c
+++ b/fs/hpfs/super.c
@@ -550,6 +550,7 @@ static int hpfs_fill_super(struct super_block *s, void *options, int silent)
/* Fill superblock stuff */
s->s_magic = HPFS_SUPER_MAGIC;
s->s_op = &hpfs_sops;
+ s->s_d_op = &hpfs_dentry_operations;
sbi->sb_root = superblock->root;
sbi->sb_fs_size = superblock->n_sectors;
@@ -651,7 +652,6 @@ static int hpfs_fill_super(struct super_block *s, void *options, int silent)
iput(root);
goto bail0;
}
- hpfs_set_dentry_operations(s->s_root);
/*
* find the root directory's . pointer & finish filling in the inode