summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2011-04-21 00:34:43 +0200
committerDavid Sterba <dsterba@suse.cz>2011-05-02 13:57:21 +0200
commita8067e022ab54fde8953880a64572c3acca644dc (patch)
treeb132e3e1661a26974114e7c3111e63373d49c94a /fs/btrfs/disk-io.c
parentf993c883ad8e111fb9e9ae603540acbe94f7246c (diff)
downloadop-kernel-dev-a8067e022ab54fde8953880a64572c3acca644dc.zip
op-kernel-dev-a8067e022ab54fde8953880a64572c3acca644dc.tar.gz
btrfs: drop unused parameter from extent_map_tree_init
the GFP flags are not stored anywhere and all allocations are done via alloc_extent_map(GFP_NOFS). Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 3ce80f7..f2ee584 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1713,8 +1713,7 @@ struct btrfs_root *open_ctree(struct super_block *sb,
RB_CLEAR_NODE(&BTRFS_I(fs_info->btree_inode)->rb_node);
extent_io_tree_init(&BTRFS_I(fs_info->btree_inode)->io_tree,
fs_info->btree_inode->i_mapping);
- extent_map_tree_init(&BTRFS_I(fs_info->btree_inode)->extent_tree,
- GFP_NOFS);
+ extent_map_tree_init(&BTRFS_I(fs_info->btree_inode)->extent_tree);
BTRFS_I(fs_info->btree_inode)->io_tree.ops = &btree_extent_io_ops;
OpenPOWER on IntegriCloud