diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c index f2e6162f8e656..5ef0d1d607431 100644 --- a/fs/ubifs/file.c +++ b/fs/ubifs/file.c @@ -783,7 +783,9 @@ static int ubifs_do_bulk_read(struct ubifs_info *c, struct bu_info *bu, if (page_offset > end_index) break; - page = find_or_create_page(mapping, page_offset, ra_gfp_mask); + page = pagecache_get_page(mapping, page_offset, + FGP_LOCK|FGP_ACCESSED|FGP_CREAT|FGP_NOWAIT, + ra_gfp_mask); if (!page) break; if (!PageUptodate(page))