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

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

diff -u --recursive --new-file v2.3.99-pre5/linux/fs/minix/inode.c linux/fs/minix/inode.c
@@ -1006,7 +1006,7 @@
 	return NULL;
 }
 
-static int minix_writepage(struct dentry *dentry, struct page *page)
+static int minix_writepage(struct file *file, struct dentry *dentry, struct page *page)
 {
 	return block_write_full_page(page,minix_get_block);
 }
@@ -1025,6 +1025,7 @@
 struct address_space_operations minix_aops = {
 	readpage: minix_readpage,
 	writepage: minix_writepage,
+	sync_page: block_sync_page,
 	prepare_write: minix_prepare_write,
 	commit_write: generic_commit_write,
 	bmap: minix_bmap

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