diff options
author | David Sterba <dsterba@suse.cz> | 2011-04-20 17:35:57 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-02 07:57:21 -0400 |
commit | f993c883ad8e111fb9e9ae603540acbe94f7246c (patch) | |
tree | 8c57c5377bff275e0a6e0d75284ab81fd74109a5 /fs/btrfs/extent_io.h | |
parent | 62a45b60923a576170a1a0c309c240d9f40d193d (diff) |
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, | |||
169 | int create); | 169 | int create); |
170 | 170 | ||
171 | void extent_io_tree_init(struct extent_io_tree *tree, | 171 | void extent_io_tree_init(struct extent_io_tree *tree, |
172 | struct address_space *mapping, gfp_t mask); | 172 | struct address_space *mapping); |
173 | int try_release_extent_mapping(struct extent_map_tree *map, | 173 | int try_release_extent_mapping(struct extent_map_tree *map, |
174 | struct extent_io_tree *tree, struct page *page, | 174 | struct extent_io_tree *tree, struct page *page, |
175 | gfp_t mask); | 175 | gfp_t mask); |