diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 3c1221c12026..9781e0b9153c 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -1150,9 +1150,10 @@ static int f2fs_mpage_readpages(struct address_space *mapping, for (page_idx = 0; nr_pages; page_idx++, nr_pages--) { - prefetchw(&page->flags); if (pages) { page = list_last_entry(pages, struct page, lru); + + prefetchw(&page->flags); list_del(&page->lru); if (add_to_page_cache_lru(page, mapping, page->index, GFP_KERNEL))