diff options
author | Fred Chou <fred.chou.nd@gmail.com> | 2015-02-17 16:45:36 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-17 17:34:51 -0500 |
commit | d6bd428275f3f470fc7cf6624b737c6d7805b44b (patch) | |
tree | 17bb5aaf4f56b80feefdfdaaefb272fba790f3f8 /fs/fat | |
parent | 714b71a3a91f63e0852ad9a07edc3820800c681f (diff) |
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
directly.
Signed-off-by: Fred Chou <fred.chou.nd@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat')
-rw-r--r-- | fs/fat/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 7b41a2dcdd76..497c7c5263c7 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
@@ -580,7 +580,7 @@ static void fat_set_state(struct super_block *sb, | |||
580 | { | 580 | { |
581 | struct buffer_head *bh; | 581 | struct buffer_head *bh; |
582 | struct fat_boot_sector *b; | 582 | struct fat_boot_sector *b; |
583 | struct msdos_sb_info *sbi = sb->s_fs_info; | 583 | struct msdos_sb_info *sbi = MSDOS_SB(sb); |
584 | 584 | ||
585 | /* do not change any thing if mounted read only */ | 585 | /* do not change any thing if mounted read only */ |
586 | if ((sb->s_flags & MS_RDONLY) && !force) | 586 | if ((sb->s_flags & MS_RDONLY) && !force) |