diff options
author | David Sterba <dsterba@suse.cz> | 2011-04-20 18:48:27 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-02 07:57:21 -0400 |
commit | 172ddd60a662c4d8bf2809462866ddddd6431ea5 (patch) | |
tree | fc3c82d8e20a10f77fd26de64a58c416b80b42ac /fs/btrfs/relocation.c | |
parent | a8067e022ab54fde8953880a64572c3acca644dc (diff) |
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/relocation.c')
-rw-r--r-- | fs/btrfs/relocation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index f3edf45317bc..2097a88f60aa 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c | |||
@@ -2870,7 +2870,7 @@ int setup_extent_mapping(struct inode *inode, u64 start, u64 end, | |||
2870 | struct extent_map *em; | 2870 | struct extent_map *em; |
2871 | int ret = 0; | 2871 | int ret = 0; |
2872 | 2872 | ||
2873 | em = alloc_extent_map(GFP_NOFS); | 2873 | em = alloc_extent_map(); |
2874 | if (!em) | 2874 | if (!em) |
2875 | return -ENOMEM; | 2875 | return -ENOMEM; |
2876 | 2876 | ||