Skip to content

Commit e1c0eba

Browse files
committed
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 <[email protected]>
1 parent d32a4e3 commit e1c0eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/btrfs/free-space-tree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ static unsigned long *alloc_bitmap(u32 bitmap_size)
164164
if (bitmap_size <= PAGE_SIZE)
165165
return kzalloc(bitmap_size, GFP_NOFS);
166166

167-
mem = kzalloc(bitmap_size, GFP_NOFS | __GFP_HIGHMEM | __GFP_NOWARN);
167+
mem = kzalloc(bitmap_size, GFP_NOFS | __GFP_NOWARN);
168168
if (mem)
169169
return mem;
170170

0 commit comments

Comments
 (0)