btrfs: remove unused gfp mask parameter from release_extent_buffer callchain

It's unused since 0b32f4bbb4.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
This commit is contained in:
David Sterba
2013-04-26 14:56:29 +00:00
committed by Josef Bacik
parent 34c2b29079
commit f7a52a40ca
3 changed files with 7 additions and 16 deletions

View File

@@ -966,14 +966,8 @@ static int btree_releasepage(struct page *page, gfp_t gfp_flags)
{
if (PageWriteback(page) || PageDirty(page))
return 0;
/*
* We need to mask out eg. __GFP_HIGHMEM and __GFP_DMA32 as we're doing
* slab allocation from alloc_extent_state down the callchain where
* it'd hit a BUG_ON as those flags are not allowed.
*/
gfp_flags &= ~GFP_SLAB_BUG_MASK;
return try_release_extent_buffer(page, gfp_flags);
return try_release_extent_buffer(page);
}
static void btree_invalidatepage(struct page *page, unsigned long offset)