patch-1.3.69 linux/fs/fat/file.c
Next file: linux/fs/fat/inode.c
Previous file: linux/fs/ext2/super.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Sun Feb 25 11:17:58 1996
- Orig file:
v1.3.68/linux/fs/fat/file.c
- Orig date:
Tue Feb 20 14:37:26 1996
diff -u --recursive --new-file v1.3.68/linux/fs/fat/file.c linux/fs/fat/file.c
@@ -14,6 +14,7 @@
#include <linux/fcntl.h>
#include <linux/stat.h>
#include <linux/string.h>
+#include <linux/pagemap.h>
#include <asm/segment.h>
#include <asm/system.h>
@@ -345,6 +346,7 @@
}
written -= left;
}
+ update_vm_cache(inode, filp->f_pos, bh->b_data + (filp->f_pos & (SECTOR_SIZE-1)), written);
filp->f_pos += written;
if (filp->f_pos > inode->i_size) {
inode->i_size = filp->f_pos;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this