projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
714b71a
)
fs: fat: use MSDOS_SB macro to get msdos_sb_info
author
Fred Chou
<
[email protected]
>
Tue, 17 Feb 2015 21:45:36 +0000
(13:45 -0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 17 Feb 2015 22:34:51 +0000
(14:34 -0800)
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]
>
fs/fat/inode.c
patch
|
blob
|
history
diff --git
a/fs/fat/inode.c
b/fs/fat/inode.c
index 7b41a2dcdd7662d8d7be045d94523b97299dd879..497c7c5263c7ca3962c385605fbbb558d351f759 100644
(file)
--- a/
fs/fat/inode.c
+++ b/
fs/fat/inode.c
@@
-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)