patch-2.3.20 linux/fs/fat/file.c
Next file: linux/fs/inode.c
Previous file: linux/fs/dquot.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Oct 8 10:07:23 1999
- Orig file:
v2.3.19/linux/fs/fat/file.c
- Orig date:
Mon Aug 9 11:43:49 1999
diff -u --recursive --new-file v2.3.19/linux/fs/fat/file.c linux/fs/fat/file.c
@@ -60,7 +60,7 @@
fat_get_block, /* get_block */
block_read_full_page, /* readpage */
NULL, /* writepage */
- NULL, /* flushpage */
+ block_flushpage, /* flushpage */
fat_truncate, /* truncate */
NULL, /* permission */
NULL, /* smap */
@@ -118,7 +118,7 @@
unsigned long page_cache = 0;
long status;
- pgpos = inode->i_size & PAGE_CACHE_MASK;
+ pgpos = MSDOS_I(inode)->i_realsize & PAGE_CACHE_MASK;
while (pgpos < page->offset) {
hash = page_hash(inode, pgpos);
repeat_find: new_page = __find_lock_page(inode, pgpos, hash);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)