summaryrefslogtreecommitdiffstats
path: root/fs/ntfs
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/ntfs
parent7406b0a326f2d70ade2671c37d1beef62249db97 (diff)
Merge with 2.3.99-pre6.
Diffstat (limited to 'fs/ntfs')
-rw-r--r--fs/ntfs/fs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ntfs/fs.c b/fs/ntfs/fs.c
index 058e3a6f4..238e5c61b 100644
--- a/fs/ntfs/fs.c
+++ b/fs/ntfs/fs.c
@@ -587,7 +587,7 @@ static struct inode_operations ntfs_dir_inode_operations = {
#endif
};
-static int ntfs_writepage(struct dentry *dentry, struct page *page)
+static int ntfs_writepage(struct file *file, struct dentry *dentry, struct page *page)
{
return block_write_full_page(page,ntfs_get_block);
}
@@ -607,6 +607,7 @@ static int _ntfs_bmap(struct address_space *mapping, long block)
struct address_space_operations ntfs_aops = {
readpage: ntfs_readpage,
writepage: ntfs_writepage,
+ sync_page: block_sync_page,
prepare_write: ntfs_prepare_write,
commit_write: generic_commit_write,
bmap: _ntfs_bmap