diff options
Diffstat (limited to 'fs/btrfs/extent_io.c')
-rw-r--r-- | fs/btrfs/extent_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 5ae0bffaa4d8..0d1196d6f786 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c | |||
@@ -2681,7 +2681,7 @@ int extent_readpages(struct extent_io_tree *tree, | |||
2681 | prefetchw(&page->flags); | 2681 | prefetchw(&page->flags); |
2682 | list_del(&page->lru); | 2682 | list_del(&page->lru); |
2683 | if (!add_to_page_cache_lru(page, mapping, | 2683 | if (!add_to_page_cache_lru(page, mapping, |
2684 | page->index, GFP_KERNEL)) { | 2684 | page->index, GFP_NOFS)) { |
2685 | __extent_read_full_page(tree, page, get_extent, | 2685 | __extent_read_full_page(tree, page, get_extent, |
2686 | &bio, 0, &bio_flags); | 2686 | &bio, 0, &bio_flags); |
2687 | } | 2687 | } |