patch-2.4.21 linux-2.4.21/include/linux/msdos_fs.h

Next file: linux-2.4.21/include/linux/mtd/cfi.h
Previous file: linux-2.4.21/include/linux/mm.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/linux/msdos_fs.h linux-2.4.21/include/linux/msdos_fs.h
@@ -70,9 +70,9 @@
 
 #define MSDOS_FAT12 4084 /* maximum number of clusters in a 12 bit FAT */
 
-#define EOF_FAT12 0xFF8		/* standard EOF */
-#define EOF_FAT16 0xFFF8
-#define EOF_FAT32 0xFFFFFF8
+#define EOF_FAT12 0xFFF		/* standard EOF */
+#define EOF_FAT16 0xFFFF
+#define EOF_FAT32 0xFFFFFFF
 #define EOF_FAT(s) (MSDOS_SB(s)->fat_bits == 32 ? EOF_FAT32 : \
 	MSDOS_SB(s)->fat_bits == 16 ? EOF_FAT16 : EOF_FAT12)
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)