aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2011-04-20 18:34:43 -0400
committerDavid Sterba <dsterba@suse.cz>2011-05-02 07:57:21 -0400
commita8067e022ab54fde8953880a64572c3acca644dc (patch)
treeb132e3e1661a26974114e7c3111e63373d49c94a /fs/btrfs/disk-io.c
parentf993c883ad8e111fb9e9ae603540acbe94f7246c (diff)
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 3ce80f71e98a..f2ee584b8efd 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,
1713 RB_CLEAR_NODE(&BTRFS_I(fs_info->btree_inode)->rb_node); 1713 RB_CLEAR_NODE(&BTRFS_I(fs_info->btree_inode)->rb_node);
1714 extent_io_tree_init(&BTRFS_I(fs_info->btree_inode)->io_tree, 1714 extent_io_tree_init(&BTRFS_I(fs_info->btree_inode)->io_tree,
1715 fs_info->btree_inode->i_mapping); 1715 fs_info->btree_inode->i_mapping);
1716 extent_map_tree_init(&BTRFS_I(fs_info->btree_inode)->extent_tree, 1716 extent_map_tree_init(&BTRFS_I(fs_info->btree_inode)->extent_tree);
1717 GFP_NOFS);
1718 1717
1719 BTRFS_I(fs_info->btree_inode)->io_tree.ops = &btree_extent_io_ops; 1718 BTRFS_I(fs_info->btree_inode)->io_tree.ops = &btree_extent_io_ops;
1720 1719