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
- Lines: 17
- Date:
Tue Apr 25 17:28:56 2000
- Orig file:
v2.3.99-pre5/linux/fs/adfs/inode.c
- Orig date:
Mon Mar 27 08:08:29 2000
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)