aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2011-04-21 00:48:27 +0200
committerDavid Sterba <dsterba@suse.cz>2011-05-02 13:57:21 +0200
commit172ddd60a662c4d8bf2809462866ddddd6431ea5 (patch)
treefc3c82d8e20a10f77fd26de64a58c416b80b42ac /fs/btrfs/file.c
parenta8067e022ab54fde8953880a64572c3acca644dc (diff)
downloadkernel_goldelico_gta04-172ddd60a662c4d8bf2809462866ddddd6431ea5.zip
kernel_goldelico_gta04-172ddd60a662c4d8bf2809462866ddddd6431ea5.tar.gz
kernel_goldelico_gta04-172ddd60a662c4d8bf2809462866ddddd6431ea5.tar.bz2
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/file.c')
-rw-r--r--fs/btrfs/file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c
index 83abd27..80eabe8 100644
--- a/fs/btrfs/file.c
+++ b/fs/btrfs/file.c
@@ -191,9 +191,9 @@ int btrfs_drop_extent_cache(struct inode *inode, u64 start, u64 end,
}
while (1) {
if (!split)
- split = alloc_extent_map(GFP_NOFS);
+ split = alloc_extent_map();
if (!split2)
- split2 = alloc_extent_map(GFP_NOFS);
+ split2 = alloc_extent_map();
BUG_ON(!split || !split2);
write_lock(&em_tree->lock);