diff options
author | David Sterba <dsterba@suse.cz> | 2011-04-21 00:34:43 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-02 13:57:21 +0200 |
commit | a8067e022ab54fde8953880a64572c3acca644dc (patch) | |
tree | b132e3e1661a26974114e7c3111e63373d49c94a /fs/btrfs/extent_map.c | |
parent | f993c883ad8e111fb9e9ae603540acbe94f7246c (diff) | |
download | linux-a8067e022ab54fde8953880a64572c3acca644dc.tar.gz linux-a8067e022ab54fde8953880a64572c3acca644dc.tar.bz2 linux-a8067e022ab54fde8953880a64572c3acca644dc.zip |
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/extent_map.c')
-rw-r--r-- | fs/btrfs/extent_map.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/extent_map.c b/fs/btrfs/extent_map.c index a24a3f2fa13e..3c8f374a8e2d 100644 --- a/fs/btrfs/extent_map.c +++ b/fs/btrfs/extent_map.c @@ -28,12 +28,11 @@ void extent_map_exit(void) /** * extent_map_tree_init - initialize extent map tree * @tree: tree to initialize - * @mask: flags for memory allocations during tree operations * * Initialize the extent tree @tree. Should be called for each new inode * or other user of the extent_map interface. */ -void extent_map_tree_init(struct extent_map_tree *tree, gfp_t mask) +void extent_map_tree_init(struct extent_map_tree *tree) { tree->map = RB_ROOT; rwlock_init(&tree->lock); |