Commit d6bd4282 authored by Fred Chou's avatar Fred Chou Committed by Linus Torvalds
Browse files

fs: fat: use MSDOS_SB macro to get msdos_sb_info

Use the MSDOS_SB macro to get msdos_sb_info, instead of coding it

Signed-off-by: default avatarFred Chou <>
Acked-by: default avatarOGAWA Hirofumi <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 714b71a3
......@@ -580,7 +580,7 @@ static void fat_set_state(struct super_block *sb,
struct buffer_head *bh;
struct fat_boot_sector *b;
struct msdos_sb_info *sbi = sb->s_fs_info;
struct msdos_sb_info *sbi = MSDOS_SB(sb);
/* do not change any thing if mounted read only */
if ((sb->s_flags & MS_RDONLY) && !force)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment