btrfs: drop gfp parameter from alloc_extent_map

pass GFP_NOFS directly to kmem_cache_alloc

Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
David Sterba
2011-04-21 00:48:27 +02:00
parent a8067e022a
commit 172ddd60a6
8 changed files with 16 additions and 17 deletions

View File

@@ -6694,7 +6694,7 @@ static noinline int relocate_data_extent(struct inode *reloc_inode,
u64 start = extent_key->objectid - offset;
u64 end = start + extent_key->offset - 1;
em = alloc_extent_map(GFP_NOFS);
em = alloc_extent_map();
BUG_ON(!em);
em->start = start;