Commit a40a7d9d authored by Alexander Kuleshov's avatar Alexander Kuleshov Committed by Linus Torvalds

fs/fat: remove unnecessary defintion

'*sb' never used, so let's remote it and pass inode->i_sb directly to the
Signed-off-by: default avatarAlexander Kuleshov <>
Acked-by: default avatarOGAWA Hirofumi <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent db579e76
......@@ -1279,8 +1279,7 @@ static int parse_options(struct super_block *sb, char *options, int is_vfat,
static int fat_read_root(struct inode *inode)
struct super_block *sb = inode->i_sb;
struct msdos_sb_info *sbi = MSDOS_SB(sb);
struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb);
int error;
MSDOS_I(inode)->i_pos = MSDOS_ROOT_INO;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment