diff options
Diffstat (limited to 'fs/fat/namei_msdos.c')
-rw-r--r-- | fs/fat/namei_msdos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/namei_msdos.c b/fs/fat/namei_msdos.c index 711499040eb6..3b222dafd15b 100644 --- a/fs/fat/namei_msdos.c +++ b/fs/fat/namei_msdos.c | |||
@@ -659,14 +659,14 @@ static const struct inode_operations msdos_dir_inode_operations = { | |||
659 | 659 | ||
660 | static void setup(struct super_block *sb) | 660 | static void setup(struct super_block *sb) |
661 | { | 661 | { |
662 | MSDOS_SB(sb)->dir_ops = &msdos_dir_inode_operations; | ||
662 | sb->s_d_op = &msdos_dentry_operations; | 663 | sb->s_d_op = &msdos_dentry_operations; |
663 | sb->s_flags |= MS_NOATIME; | 664 | sb->s_flags |= MS_NOATIME; |
664 | } | 665 | } |
665 | 666 | ||
666 | static int msdos_fill_super(struct super_block *sb, void *data, int silent) | 667 | static int msdos_fill_super(struct super_block *sb, void *data, int silent) |
667 | { | 668 | { |
668 | return fat_fill_super(sb, data, silent, &msdos_dir_inode_operations, | 669 | return fat_fill_super(sb, data, silent, 0, setup); |
669 | 0, setup); | ||
670 | } | 670 | } |
671 | 671 | ||
672 | static struct dentry *msdos_mount(struct file_system_type *fs_type, | 672 | static struct dentry *msdos_mount(struct file_system_type *fs_type, |