kernel/fs/fat/cache.c
.. .. @@ -363,7 +363,7 @@ 363 363 364 364 *phys = 0; 365 365 *mapped_blocks = 0; 366 - if ((sbi->fat_bits != 32) && (inode->i_ino == MSDOS_ROOT_INO)) {366 + if (!is_fat32(sbi) && (inode->i_ino == MSDOS_ROOT_INO)) {367 367 if (sector < (sbi->dir_entries >> sbi->dir_per_block_bits)) { 368 368 *phys = sector + sbi->dir_start; 369 369 *mapped_blocks = 1;