diff options
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index a0f3804efe4f..3a65c10dce33 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c | |||
@@ -2639,14 +2639,14 @@ int extent_readpages(struct extent_io_tree *tree, | |||
2639 | /* open coding of lru_cache_add, also not exported */ | 2639 | /* open coding of lru_cache_add, also not exported */ |
2640 | page_cache_get(page); | 2640 | page_cache_get(page); |
2641 | if (!pagevec_add(&pvec, page)) | 2641 | if (!pagevec_add(&pvec, page)) |
2642 | __pagevec_lru_add(&pvec); | 2642 | __pagevec_lru_add_file(&pvec); |
2643 | __extent_read_full_page(tree, page, get_extent, | 2643 | __extent_read_full_page(tree, page, get_extent, |
2644 | &bio, 0, &bio_flags); | 2644 | &bio, 0, &bio_flags); |
2645 | } | 2645 | } |
2646 | page_cache_release(page); | 2646 | page_cache_release(page); |
2647 | } | 2647 | } |
2648 | if (pagevec_count(&pvec)) | 2648 | if (pagevec_count(&pvec)) |
2649 | __pagevec_lru_add(&pvec); | 2649 | __pagevec_lru_add_file(&pvec); |
2650 | BUG_ON(!list_empty(pages)); | 2650 | BUG_ON(!list_empty(pages)); |
2651 | if (bio) | 2651 | if (bio) |
2652 | submit_one_bio(READ, bio, 0, bio_flags); | 2652 | submit_one_bio(READ, bio, 0, bio_flags); |