Skip to content

Commit

Permalink
fs: fat: use MSDOS_SB macro to get msdos_sb_info
Browse files Browse the repository at this point in the history
Use the MSDOS_SB macro to get msdos_sb_info, instead of coding it
directly.

Signed-off-by: Fred Chou <[email protected]>
Acked-by: OGAWA Hirofumi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
fredchound authored and torvalds committed Feb 17, 2015
1 parent 714b71a commit d6bd428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/fat/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d6bd428

Please sign in to comment.