fat: use new setup() for ->dir_ops too
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
This commit is contained in:
@ -1238,8 +1238,7 @@ static int fat_read_root(struct inode *inode)
|
||||
/*
|
||||
* Read the super block of an MS-DOS FS.
|
||||
*/
|
||||
int fat_fill_super(struct super_block *sb, void *data, int silent,
|
||||
const struct inode_operations *fs_dir_inode_ops, int isvfat,
|
||||
int fat_fill_super(struct super_block *sb, void *data, int silent, int isvfat,
|
||||
void (*setup)(struct super_block *))
|
||||
{
|
||||
struct inode *root_inode = NULL, *fat_inode = NULL;
|
||||
@ -1268,7 +1267,6 @@ int fat_fill_super(struct super_block *sb, void *data, int silent,
|
||||
sb->s_magic = MSDOS_SUPER_MAGIC;
|
||||
sb->s_op = &fat_sops;
|
||||
sb->s_export_op = &fat_export_ops;
|
||||
sbi->dir_ops = fs_dir_inode_ops;
|
||||
ratelimit_state_init(&sbi->ratelimit, DEFAULT_RATELIMIT_INTERVAL,
|
||||
DEFAULT_RATELIMIT_BURST);
|
||||
|
||||
|
Reference in New Issue
Block a user