diff options
author | David Sterba <dsterba@suse.cz> | 2011-04-21 01:08:01 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-02 13:57:22 +0200 |
commit | f09d1f60e6aa82fb4cfaa525e21f6287fc1516f4 (patch) | |
tree | 7c9a5523e40bd08c962a5f87fb4d72228f14c211 /fs/btrfs/extent_io.h | |
parent | btrfs: drop gfp parameter from alloc_extent_map (diff) | |
download | linux-f09d1f60e6aa82fb4cfaa525e21f6287fc1516f4.tar.xz linux-f09d1f60e6aa82fb4cfaa525e21f6287fc1516f4.zip |
btrfs: drop gfp parameter from find_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 e9cfe8d1661c..ff220c3c01b0 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -263,8 +263,7 @@ struct extent_buffer *alloc_extent_buffer(struct extent_io_tree *tree, struct page *page0, gfp_t mask); struct extent_buffer *find_extent_buffer(struct extent_io_tree *tree, - u64 start, unsigned long len, - gfp_t mask); + u64 start, unsigned long len); void free_extent_buffer(struct extent_buffer *eb); int read_extent_buffer_pages(struct extent_io_tree *tree, struct extent_buffer *eb, u64 start, int wait, |