summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-tree.c
diff options
context:
space:
mode:
authorChris Mason <clm@fb.com>2016-01-27 15:38:45 +0100
committerChris Mason <clm@fb.com>2016-01-27 16:05:49 +0100
commite1c0ebad3f77387c6684f8b7e86a4bbaca7577ac (patch)
tree8fb769c0025d0c144a3bf204ed064f1274963849 /fs/btrfs/free-space-tree.c
parentMerge branch 'dev/fst-followup' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
downloadlinux-e1c0ebad3f77387c6684f8b7e86a4bbaca7577ac.tar.xz
linux-e1c0ebad3f77387c6684f8b7e86a4bbaca7577ac.zip
btrfs: don't use GFP_HIGHMEM for free-space-tree bitmap kzalloc
This was copied incorrectly from the __vmalloc call. Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/free-space-tree.c')
-rw-r--r--fs/btrfs/free-space-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-tree.c b/fs/btrfs/free-space-tree.c
index dfa8124effb8..81a053d2966b 100644
--- a/fs/btrfs/free-space-tree.c
+++ b/fs/btrfs/free-space-tree.c
@@ -164,7 +164,7 @@ static unsigned long *alloc_bitmap(u32 bitmap_size)
if (bitmap_size <= PAGE_SIZE)
return kzalloc(bitmap_size, GFP_NOFS);
- mem = kzalloc(bitmap_size, GFP_NOFS | __GFP_HIGHMEM | __GFP_NOWARN);
+ mem = kzalloc(bitmap_size, GFP_NOFS | __GFP_NOWARN);
if (mem)
return mem;