diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index d265401b5326f1f8b974022f9750ce4ee1393e8c..bc04e9201fd60f9cd556eb5d2cabed724b1168dc 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -920,7 +920,8 @@ static int f2fs_mpage_readpages(struct address_space *mapping, map.m_lblk = block_in_file; map.m_len = last_block - block_in_file; - if (f2fs_map_blocks(inode, &map, 0, false)) + if (f2fs_map_blocks(inode, &map, 0, + F2FS_GET_BLOCK_READ)) goto set_error_page; } got_it: