diff options
Diffstat (limited to 'fs/sysv/itree.c')
-rw-r--r-- | fs/sysv/itree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/sysv/itree.c b/fs/sysv/itree.c index 4068f485cfd6..82a005c3d7eb 100644 --- a/fs/sysv/itree.c +++ b/fs/sysv/itree.c | |||
@@ -461,8 +461,7 @@ static int sysv_readpage(struct file *file, struct page *page) | |||
461 | 461 | ||
462 | int sysv_prepare_chunk(struct page *page, loff_t pos, unsigned len) | 462 | int sysv_prepare_chunk(struct page *page, loff_t pos, unsigned len) |
463 | { | 463 | { |
464 | return block_write_begin_newtrunc(NULL, page->mapping, pos, len, 0, | 464 | return __block_write_begin(page, pos, len, get_block); |
465 | &page, NULL, get_block); | ||
466 | } | 465 | } |
467 | 466 | ||
468 | static int sysv_write_begin(struct file *file, struct address_space *mapping, | 467 | static int sysv_write_begin(struct file *file, struct address_space *mapping, |