patch-2.3.99-pre6 linux/fs/hpfs/file.c

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

diff -u --recursive --new-file v2.3.99-pre5/linux/fs/hpfs/file.c linux/fs/hpfs/file.c
@@ -86,7 +86,7 @@
 	return 0;
 }
 
-static int hpfs_writepage(struct dentry *dentry, struct page *page)
+static int hpfs_writepage(struct file *file, struct dentry *dentry, struct page *page)
 {
 	return block_write_full_page(page,hpfs_get_block);
 }
@@ -106,6 +106,7 @@
 struct address_space_operations hpfs_aops = {
 	readpage: hpfs_readpage,
 	writepage: hpfs_writepage,
+	sync_page: block_sync_page,
 	prepare_write: hpfs_prepare_write,
 	commit_write: generic_commit_write,
 	bmap: _hpfs_bmap

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