summaryrefslogtreecommitdiffstats
path: root/fs/fat/cache.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1997-08-06 19:14:48 +0000
committerMiguel de Icaza <miguel@nuclecu.unam.mx>1997-08-06 19:14:48 +0000
commite2819e52a162873ff5061de81bb749831bdb5de9 (patch)
tree6067ea700202750ba335a423696f2972700e5f76 /fs/fat/cache.c
parent17a005074429bbf143e40401f405ae4363e56828 (diff)
Merge to 2.1.38.
IMPORTANT NOTE: I could not figure out what information is the one that should be used for the following files (ie, those that were in our tree, or those that came from Linus' patch), please, check these: include/asm-mips/jazz.h include/asm-mips/jazzdma.h include/asm-mips/ioctls.h
Diffstat (limited to 'fs/fat/cache.c')
-rw-r--r--fs/fat/cache.c3
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);