btrfs: don't use GFP_HIGHMEM for free-space-tree bitmap kzalloc
authorChris Mason <clm@fb.com>
Wed, 27 Jan 2016 14:38:45 +0000 (06:38 -0800)
committerChris Mason <clm@fb.com>
Wed, 27 Jan 2016 15:05:49 +0000 (07:05 -0800)
This was copied incorrectly from the __vmalloc call.

Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/free-space-tree.c

index dfa8124..81a053d 100644 (file)
@@ -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;