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

Next file: linux/fs/ufs/namei.c
Previous file: linux/fs/udf/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/fs/ufs/inode.c linux/fs/ufs/inode.c
@@ -540,7 +540,7 @@
 	return NULL;
 }
 
-static int ufs_writepage(struct dentry *dentry, struct page *page)
+static int ufs_writepage(struct file *file, struct dentry *dentry, struct page *page)
 {
 	return block_write_full_page(page,ufs_getfrag_block);
 }
@@ -559,6 +559,7 @@
 struct address_space_operations ufs_aops = {
 	readpage: ufs_readpage,
 	writepage: ufs_writepage,
+	sync_page: block_sync_page,
 	prepare_write: ufs_prepare_write,
 	commit_write: generic_commit_write,
 	bmap: ufs_bmap

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