patch-2.3.99-pre6 linux/fs/udf/inode.c
Next file: linux/fs/udf/namei.c
Previous file: linux/fs/udf/file.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Apr 25 17:28:56 2000
- Orig file:
v2.3.99-pre5/linux/fs/udf/inode.c
- Orig date:
Tue Apr 11 15:09:23 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/fs/udf/inode.c linux/fs/udf/inode.c
@@ -125,7 +125,7 @@
udf_trunc(inode);
}
-static int udf_writepage(struct dentry *dentry, struct page *page)
+static int udf_writepage(struct file *file, struct dentry *dentry, struct page *page)
{
return block_write_full_page(page, udf_get_block);
}
@@ -148,6 +148,7 @@
struct address_space_operations udf_aops = {
readpage: udf_readpage,
writepage: udf_writepage,
+ sync_page: block_sync_page,
prepare_write: udf_prepare_write,
commit_write: generic_commit_write,
bmap: udf_bmap,
@@ -201,7 +202,7 @@
mark_buffer_dirty(bh, 1);
udf_release_data(bh);
- inode->i_data.a_ops->writepage(NULL, page);
+ inode->i_data.a_ops->writepage(NULL, NULL, page);
UnlockPage(page);
page_cache_release(page);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)