summaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2011-04-21 01:08:01 +0200
committerDavid Sterba <dsterba@suse.cz>2011-05-02 13:57:22 +0200
commitf09d1f60e6aa82fb4cfaa525e21f6287fc1516f4 (patch)
tree7c9a5523e40bd08c962a5f87fb4d72228f14c211 /fs/btrfs/disk-io.c
parent172ddd60a662c4d8bf2809462866ddddd6431ea5 (diff)
downloadlinux-3.10-f09d1f60e6aa82fb4cfaa525e21f6287fc1516f4.tar.gz
linux-3.10-f09d1f60e6aa82fb4cfaa525e21f6287fc1516f4.tar.bz2
linux-3.10-f09d1f60e6aa82fb4cfaa525e21f6287fc1516f4.zip
btrfs: drop gfp parameter from find_extent_buffer
pass GFP_NOFS directly to kmem_cache_alloc Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index e1e55679d06..1c0752e9906 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -963,7 +963,7 @@ struct extent_buffer *btrfs_find_tree_block(struct btrfs_root *root,
struct inode *btree_inode = root->fs_info->btree_inode;
struct extent_buffer *eb;
eb = find_extent_buffer(&BTRFS_I(btree_inode)->io_tree,
- bytenr, blocksize, GFP_NOFS);
+ bytenr, blocksize);
return eb;
}
@@ -2696,7 +2696,7 @@ int btree_lock_page_hook(struct page *page)
goto out;
len = page->private >> 2;
- eb = find_extent_buffer(io_tree, bytenr, len, GFP_NOFS);
+ eb = find_extent_buffer(io_tree, bytenr, len);
if (!eb)
goto out;