patch-2.3.43 linux/fs/fat/cache.c

Next file: linux/fs/fat/dir.c
Previous file: linux/fs/ext2/symlink.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/fs/fat/cache.c linux/fs/fat/cache.c
@@ -283,7 +283,7 @@
 			return 0;
 		return sector+sb->dir_start;
 	}
-	if (sector >= (MSDOS_I(inode)->i_realsize>>9))
+	if (sector >= MSDOS_I(inode)->mmu_private>>9)
 		return 0;
 	cluster = sector/sb->cluster_size;
 	offset = sector % sb->cluster_size;

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