X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Ffat%2Fmisc.c;h=4fc950bb64335c6be4881223afef072794d043e5;hb=bbf29f618e8c5bfd6efdad5fdc050a84bab795ab;hp=fce0a76f3f1e4c2617934a93c027d0af0d074b45;hpb=971f66d8a75a4f86a254652cc1e70a7be841cc43;p=linux-2.6-microblaze.git diff --git a/fs/fat/misc.c b/fs/fat/misc.c index fce0a76f3f1e..4fc950bb6433 100644 --- a/fs/fat/misc.c +++ b/fs/fat/misc.c @@ -64,7 +64,7 @@ int fat_clusters_flush(struct super_block *sb) struct buffer_head *bh; struct fat_boot_fsinfo *fsinfo; - if (sbi->fat_bits != 32) + if (!is_fat32(sbi)) return 0; bh = sb_bread(sb, sbi->fsinfo_sector);