aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fat/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/fat/inode.c')
-rw-r--r--fs/fat/inode.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index 8d68690bdcf1..c27704dc485e 100644
--- a/fs/fat/inode.c
+++ b/fs/fat/inode.c
@@ -1238,8 +1238,7 @@ static int fat_read_root(struct inode *inode)
1238/* 1238/*
1239 * Read the super block of an MS-DOS FS. 1239 * Read the super block of an MS-DOS FS.
1240 */ 1240 */
1241int fat_fill_super(struct super_block *sb, void *data, int silent, 1241int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat,
1242 const struct inode_operations *fs_dir_inode_ops, int isvfat,
1243 void (*setup)(struct super_block *)) 1242 void (*setup)(struct super_block *))
1244{ 1243{
1245 struct inode *root_inode = NULL, *fat_inode = NULL; 1244 struct inode *root_inode = NULL, *fat_inode = NULL;
@@ -1268,7 +1267,6 @@ int fat_fill_super(struct super_block *sb, void *data, int silent,
1268 sb->s_magic = MSDOS_SUPER_MAGIC; 1267 sb->s_magic = MSDOS_SUPER_MAGIC;
1269 sb->s_op = &fat_sops; 1268 sb->s_op = &fat_sops;
1270 sb->s_export_op = &fat_export_ops; 1269 sb->s_export_op = &fat_export_ops;
1271 sbi->dir_ops = fs_dir_inode_ops;
1272 ratelimit_state_init(&sbi->ratelimit, DEFAULT_RATELIMIT_INTERVAL, 1270 ratelimit_state_init(&sbi->ratelimit, DEFAULT_RATELIMIT_INTERVAL,
1273 DEFAULT_RATELIMIT_BURST); 1271 DEFAULT_RATELIMIT_BURST);
1274 1272