diff options
Diffstat (limited to 'fs/fat/cache.c')
-rw-r--r-- | fs/fat/cache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/fat/cache.c b/fs/fat/cache.c index 6223c1c48..5fdcb772e 100644 --- a/fs/fat/cache.c +++ b/fs/fat/cache.c @@ -276,8 +276,7 @@ int fat_free(struct inode *inode,int skip) } } if (last) - fat_access(inode->i_sb,last,MSDOS_SB(inode->i_sb)->fat_bits == - 12 ? EOF_FAT12 : EOF_FAT16); + fat_access(inode->i_sb,last,EOF_FAT(inode->i_sb)); else { MSDOS_I(inode)->i_start = 0; mark_inode_dirty(inode); |