patch-2.1.48 linux/fs/fat/misc.c
Next file: linux/fs/hpfs/hpfs_fs.c
Previous file: linux/fs/fat/fatfs_syms.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Jul 31 13:09:17 1997
- Orig file:
v2.1.47/linux/fs/fat/misc.c
- Orig date:
Sun Jul 27 12:11:00 1997
diff -u --recursive --new-file v2.1.47/linux/fs/fat/misc.c linux/fs/fat/misc.c
@@ -138,8 +138,7 @@
unlock_fat(sb);
return -ENOSPC;
}
- fat_access(sb,nr,MSDOS_SB(sb)->fat_bits == 12 ?
- EOF_FAT12 : EOF_FAT16);
+ fat_access(sb,nr,EOF_FAT(sb));
if (MSDOS_SB(sb)->free_clusters != -1)
MSDOS_SB(sb)->free_clusters--;
unlock_fat(sb);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov