diff options
author | David Sterba <dsterba@suse.cz> | 2011-04-21 00:48:27 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2011-05-02 13:57:21 +0200 |
commit | 172ddd60a662c4d8bf2809462866ddddd6431ea5 (patch) | |
tree | fc3c82d8e20a10f77fd26de64a58c416b80b42ac /fs/btrfs/disk-io.c | |
parent | a8067e022ab54fde8953880a64572c3acca644dc (diff) | |
download | op-kernel-dev-172ddd60a662c4d8bf2809462866ddddd6431ea5.zip op-kernel-dev-172ddd60a662c4d8bf2809462866ddddd6431ea5.tar.gz |
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/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index f2ee584..e1e55679 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -154,7 +154,7 @@ static struct extent_map *btree_get_extent(struct inode *inode, } read_unlock(&em_tree->lock); - em = alloc_extent_map(GFP_NOFS); + em = alloc_extent_map(); if (!em) { em = ERR_PTR(-ENOMEM); goto out; |