diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-26 11:26:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-26 11:26:58 -0400 |
commit | 019793b7554b18818624e9cf7a2ee8ba8cf6bda0 (patch) | |
tree | ffe6ea833b4310d063a4a40435ba8877c396a303 /fs/btrfs/extent_io.c | |
parent | cb49f577879519d1bff5898d9eec72dd441286cb (diff) | |
parent | 7cf96da3ec7ca225acf4f284b0e904a1f5f98821 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable
* git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable:
Btrfs: cleanup error handling in inode.c
Btrfs: put the right bio if we have an error
Btrfs: free bitmaps properly when evicting the cache
Btrfs: Free free_space item properly in btrfs_trim_block_group()
btrfs: add missing spin_unlock to a rare exit path
Btrfs: check return value of kmalloc()
btrfs: fix wrong allocating flag when reading page
Btrfs: fix missing mutex_unlock in btrfs_del_dir_entries_in_log()
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 315138605088..ba41da59e31b 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 | } |