diff options
author | David Sterba <dsterba@suse.cz> | 2011-04-20 19:12:06 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-02 07:57:22 -0400 |
commit | ba14419264684b290f0d0b7f48d26eafb11fc0c6 (patch) | |
tree | 0620d8dac3cfaa34383ac88ab19293e89a256997 /fs/btrfs/extent_io.h | |
parent | f09d1f60e6aa82fb4cfaa525e21f6287fc1516f4 (diff) |
btrfs: drop gfp parameter from alloc_extent_buffer
pass GFP_NOFS directly to kmem_cache_alloc
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/extent_io.h')
-rw-r--r-- | fs/btrfs/extent_io.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index ff220c3c01b0..3c3be74c934e 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h | |||
@@ -260,8 +260,7 @@ void set_page_extent_mapped(struct page *page); | |||
260 | 260 | ||
261 | struct extent_buffer *alloc_extent_buffer(struct extent_io_tree *tree, | 261 | struct extent_buffer *alloc_extent_buffer(struct extent_io_tree *tree, |
262 | u64 start, unsigned long len, | 262 | u64 start, unsigned long len, |
263 | struct page *page0, | 263 | struct page *page0); |
264 | gfp_t mask); | ||
265 | struct extent_buffer *find_extent_buffer(struct extent_io_tree *tree, | 264 | struct extent_buffer *find_extent_buffer(struct extent_io_tree *tree, |
266 | u64 start, unsigned long len); | 265 | u64 start, unsigned long len); |
267 | void free_extent_buffer(struct extent_buffer *eb); | 266 | void free_extent_buffer(struct extent_buffer *eb); |