The patch titled Subject: fs: fat: use MSDOS_SB macro to get msdos_sb_info has been added to the -mm tree. Its filename is fs-fat-use-msdos_sb-macro-to-get-msdos_sb_info.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/fs-fat-use-msdos_sb-macro-to-get-msdos_sb_info.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/fs-fat-use-msdos_sb-macro-to-get-msdos_sb_info.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Fred Chou <fred.chou.nd@xxxxxxxxx> Subject: 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@xxxxxxxxx> Acked-by: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/fat/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/fat/inode.c~fs-fat-use-msdos_sb-macro-to-get-msdos_sb_info fs/fat/inode.c --- a/fs/fat/inode.c~fs-fat-use-msdos_sb-macro-to-get-msdos_sb_info +++ a/fs/fat/inode.c @@ -580,7 +580,7 @@ static void fat_set_state(struct super_b { 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) _ Patches currently in -mm which might be from fred.chou.nd@xxxxxxxxx are fs-fat-use-msdos_sb-macro-to-get-msdos_sb_info.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html