aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ufs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ufs/inode.c')
-rw-r--r--fs/ufs/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ufs/inode.c b/fs/ufs/inode.c
index a9555b1ffd28..45ce32391f8f 100644
--- a/fs/ufs/inode.c
+++ b/fs/ufs/inode.c
@@ -560,8 +560,7 @@ static int ufs_readpage(struct file *file, struct page *page)
560 560
561int ufs_prepare_chunk(struct page *page, loff_t pos, unsigned len) 561int ufs_prepare_chunk(struct page *page, loff_t pos, unsigned len)
562{ 562{
563 return block_write_begin_newtrunc(NULL, page->mapping, pos, len, 0, 563 return __block_write_begin(page, pos, len, ufs_getfrag_block);
564 &page, NULL, ufs_getfrag_block);
565} 564}
566 565
567static int ufs_write_begin(struct file *file, struct address_space *mapping, 566static int ufs_write_begin(struct file *file, struct address_space *mapping,