diff options
Diffstat (limited to 'fs/ext2/dir.c')
-rw-r--r-- | fs/ext2/dir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext2/dir.c b/fs/ext2/dir.c index 3b8114def693..0d116d4e923c 100644 --- a/fs/ext2/dir.c +++ b/fs/ext2/dir.c @@ -453,7 +453,8 @@ ino_t ext2_inode_by_name(struct inode *dir, const struct qstr *child) static int ext2_prepare_chunk(struct page *page, loff_t pos, unsigned len) { - return __block_write_begin(page, pos, len, ext2_get_block); + return __block_write_begin(page->mapping, page, pos, len, + ext2_get_block); } /* Releases the page */ |