summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2011-04-20 23:35:57 +0200
committerDavid Sterba <dsterba@suse.cz>2011-05-02 13:57:21 +0200
commitf993c883ad8e111fb9e9ae603540acbe94f7246c (patch)
tree8c57c5377bff275e0a6e0d75284ab81fd74109a5 /fs/btrfs/extent_io.h
parentbtrfs: make functions static when possible (diff)
downloadlinux-f993c883ad8e111fb9e9ae603540acbe94f7246c.tar.xz
linux-f993c883ad8e111fb9e9ae603540acbe94f7246c.zip
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.h2
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);