aboutsummaryrefslogtreecommitdiffstats
path: root/fs/minix/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/minix/inode.c')
-rw-r--r--fs/minix/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/minix/inode.c b/fs/minix/inode.c
index f4abe45229bb..6b29e73f0ca6 100644
--- a/fs/minix/inode.c
+++ b/fs/minix/inode.c
@@ -359,8 +359,7 @@ static int minix_readpage(struct file *file, struct page *page)
359 359
360int minix_prepare_chunk(struct page *page, loff_t pos, unsigned len) 360int minix_prepare_chunk(struct page *page, loff_t pos, unsigned len)
361{ 361{
362 return block_write_begin_newtrunc(NULL, page->mapping, pos, len, 0, 362 return __block_write_begin(page, pos, len, minix_get_block);
363 &page, NULL, minix_get_block);
364} 363}
365 364
366static int minix_write_begin(struct file *file, struct address_space *mapping, 365static int minix_write_begin(struct file *file, struct address_space *mapping,