summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_map.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2011-04-21 00:48:27 +0200
committerDavid Sterba <dsterba@suse.cz>2011-05-02 13:57:21 +0200
commit172ddd60a662c4d8bf2809462866ddddd6431ea5 (patch)
treefc3c82d8e20a10f77fd26de64a58c416b80b42ac /fs/btrfs/extent_map.h
parentbtrfs: drop unused parameter from extent_map_tree_init (diff)
downloadlinux-172ddd60a662c4d8bf2809462866ddddd6431ea5.tar.xz
linux-172ddd60a662c4d8bf2809462866ddddd6431ea5.zip
btrfs: drop gfp parameter from alloc_extent_map
pass GFP_NOFS directly to kmem_cache_alloc Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/extent_map.h')
-rw-r--r--fs/btrfs/extent_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent_map.h b/fs/btrfs/extent_map.h
index 255813c51b9d..33a7890b1f40 100644
--- a/fs/btrfs/extent_map.h
+++ b/fs/btrfs/extent_map.h
@@ -56,7 +56,7 @@ int add_extent_mapping(struct extent_map_tree *tree,
struct extent_map *em);
int remove_extent_mapping(struct extent_map_tree *tree, struct extent_map *em);
-struct extent_map *alloc_extent_map(gfp_t mask);
+struct extent_map *alloc_extent_map(void);
void free_extent_map(struct extent_map *em);
int __init extent_map_init(void);
void extent_map_exit(void);