forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
d32a4e3434
commit
e1c0ebad3f
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user