Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e1c0ebad authored by Chris Mason's avatar Chris Mason
Browse files

btrfs: don't use GFP_HIGHMEM for free-space-tree bitmap kzalloc



This was copied incorrectly from the __vmalloc call.

Signed-off-by: default avatarChris Mason <clm@fb.com>
parent d32a4e34
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;