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

Next file: linux/fs/affs/Changes
Previous file: linux/fs/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/fs/adfs/inode.c linux/fs/adfs/inode.c
@@ -49,7 +49,7 @@
 	return 0;
 }
 
-static int adfs_writepage(struct dentry *dentry, struct page *page)
+static int adfs_writepage(struct file *file, struct dentry *dentry, struct page *page)
 {
 	return block_write_full_page(page, adfs_get_block);
 }
@@ -73,6 +73,7 @@
 static struct address_space_operations adfs_aops = {
 	readpage:	adfs_readpage,
 	writepage:	adfs_writepage,
+	sync_page:	block_sync_page,
 	prepare_write:	adfs_prepare_write,
 	commit_write:	generic_commit_write,
 	bmap:		_adfs_bmap

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