patch-2.3.99-pre6 linux/fs/bfs/file.c
Next file: linux/fs/binfmt_aout.c
Previous file: linux/fs/bad_inode.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Apr 25 17:28:56 2000
- Orig file:
v2.3.99-pre5/linux/fs/bfs/file.c
- Orig date:
Mon Mar 27 08:08:29 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/fs/bfs/file.c linux/fs/bfs/file.c
@@ -127,7 +127,7 @@
return err;
}
-static int bfs_writepage(struct dentry *dentry, struct page *page)
+static int bfs_writepage(struct file *file, struct dentry *dentry, struct page *page)
{
return block_write_full_page(page, bfs_get_block);
}
@@ -150,6 +150,7 @@
struct address_space_operations bfs_aops = {
readpage: bfs_readpage,
writepage: bfs_writepage,
+ sync_page: block_sync_page,
prepare_write: bfs_prepare_write,
commit_write: generic_commit_write,
bmap: bfs_bmap
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)