diff options
Diffstat (limited to 'fs/btrfs/compression.c')
-rw-r--r-- | fs/btrfs/compression.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index bfd1512cce0a..df05f513e1eb 100644 --- a/fs/btrfs/compression.c +++ b/fs/btrfs/compression.c | |||
@@ -419,7 +419,7 @@ static noinline int add_ra_bio_pages(struct inode *inode, | |||
419 | /* open coding of lru_cache_add, also not exported */ | 419 | /* open coding of lru_cache_add, also not exported */ |
420 | page_cache_get(page); | 420 | page_cache_get(page); |
421 | if (!pagevec_add(&pvec, page)) | 421 | if (!pagevec_add(&pvec, page)) |
422 | __pagevec_lru_add(&pvec); | 422 | __pagevec_lru_add_file(&pvec); |
423 | 423 | ||
424 | end = last_offset + PAGE_CACHE_SIZE - 1; | 424 | end = last_offset + PAGE_CACHE_SIZE - 1; |
425 | /* | 425 | /* |
@@ -475,7 +475,7 @@ next: | |||
475 | last_offset += PAGE_CACHE_SIZE; | 475 | last_offset += PAGE_CACHE_SIZE; |
476 | } | 476 | } |
477 | if (pagevec_count(&pvec)) | 477 | if (pagevec_count(&pvec)) |
478 | __pagevec_lru_add(&pvec); | 478 | __pagevec_lru_add_file(&pvec); |
479 | return 0; | 479 | return 0; |
480 | } | 480 | } |
481 | 481 | ||