diff options
author | David Sterba <dsterba@suse.cz> | 2011-04-21 01:35:57 +0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-02 15:57:21 +0400 |
commit | f993c883ad8e111fb9e9ae603540acbe94f7246c (patch) | |
tree | 8c57c5377bff275e0a6e0d75284ab81fd74109a5 /fs/btrfs/extent_io.h | |
parent | 62a45b60923a576170a1a0c309c240d9f40d193d (diff) | |
download | linux-f993c883ad8e111fb9e9ae603540acbe94f7246c.tar.xz |
btrfs: drop unused argument from extent_io_tree_init
all callers pass GFP_NOFS, but the GFP mask argument is not used in the
function; GFP_ATOMIC is passed to radix tree initialization and it's the
only correct one, since we're using the preload/insert mechanism of
radix tree.
Let's drop the gfp mask from btrfs function, this will not change
behaviour.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index b9ce2f720742..e9cfe8d1661c 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -169,7 +169,7 @@ typedef struct extent_map *(get_extent_t)(struct inode *inode, int create); void extent_io_tree_init(struct extent_io_tree *tree, - struct address_space *mapping, gfp_t mask); + struct address_space *mapping); int try_release_extent_mapping(struct extent_map_tree *map, struct extent_io_tree *tree, struct page *page, gfp_t mask); |