patch-2.3.99-pre6 linux/fs/hfs/inode.c
Next file: linux/fs/hpfs/file.c
Previous file: linux/fs/fat/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/hfs/inode.c
- Orig date:
Mon Mar 27 08:08:29 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/fs/hfs/inode.c linux/fs/hfs/inode.c
@@ -217,7 +217,7 @@
return __hfs_notify_change(dentry, attr, HFS_HDR);
}
-static int hfs_writepage(struct dentry *dentry, struct page *page)
+static int hfs_writepage(struct file *file, struct dentry *dentry, struct page *page)
{
return block_write_full_page(page,hfs_get_block);
}
@@ -237,6 +237,7 @@
struct address_space_operations hfs_aops = {
readpage: hfs_readpage,
writepage: hfs_writepage,
+ sync_page: block_sync_page,
prepare_write: hfs_prepare_write,
commit_write: generic_commit_write,
bmap: hfs_bmap
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)