Skip to content

Commit

Permalink
btrfs: don't use GFP_HIGHMEM for free-space-tree bitmap kzalloc
Browse files Browse the repository at this point in the history
This was copied incorrectly from the __vmalloc call.

Signed-off-by: Chris Mason <[email protected]>
  • Loading branch information
masoncl committed Jan 27, 2016
1 parent d32a4e3 commit e1c0eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/btrfs/free-space-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e1c0eba

Please sign in to comment.