summaryrefslogtreecommitdiffstats
path: root/fs/bfs
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-04-28 01:09:25 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-04-28 01:09:25 +0000
commitb9ba7aeb165cffecdffb60aec8c3fa8d590d9ca9 (patch)
tree42d07b0c7246ae2536a702e7c5de9e2732341116 /fs/bfs
parent7406b0a326f2d70ade2671c37d1beef62249db97 (diff)
Merge with 2.3.99-pre6.
Diffstat (limited to 'fs/bfs')
-rw-r--r--fs/bfs/file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bfs/file.c b/fs/bfs/file.c
index c5ca51cda..a5d014f31 100644
--- a/fs/bfs/file.c
+++ b/fs/bfs/file.c
@@ -127,7 +127,7 @@ out:
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 @@ static int bfs_bmap(struct address_space *mapping, long block)
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