patch-2.3.99-pre6 linux/fs/fat/inode.c

Next file: linux/fs/hfs/inode.c
Previous file: linux/fs/fat/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -729,7 +729,7 @@
 	return 0;
 }
 
-static int fat_writepage(struct dentry *dentry, struct page *page)
+static int fat_writepage(struct file *file, struct dentry *dentry, struct page *page)
 {
 	return block_write_full_page(page,fat_get_block);
 }
@@ -749,6 +749,7 @@
 static struct address_space_operations fat_aops = {
 	readpage: fat_readpage,
 	writepage: fat_writepage,
+	sync_page: block_sync_page,
 	prepare_write: fat_prepare_write,
 	commit_write: generic_commit_write,
 	bmap: _fat_bmap

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