patch-2.3.45 linux/fs/fat/cache.c
Next file: linux/fs/hpfs/namei.c
Previous file: linux/fs/attr.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Feb 13 13:04:48 2000
- Orig file:
v2.3.44/linux/fs/fat/cache.c
- Orig date:
Thu Feb 10 17:11:17 2000
diff -u --recursive --new-file v2.3.44/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)->mmu_private>>9)
+ if (sector >= (MSDOS_I(inode)->mmu_private+511)>>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)