projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d32a4e3
)
btrfs: don't use GFP_HIGHMEM for free-space-tree bitmap kzalloc
author
Chris Mason
<clm@fb.com>
Wed, 27 Jan 2016 14:38:45 +0000
(06:38 -0800)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/fs/btrfs/free-space-tree.c
b/fs/btrfs/free-space-tree.c
index
dfa8124
..
81a053d
100644
(file)
--- a/
fs/btrfs/free-space-tree.c
+++ b/
fs/btrfs/free-space-tree.c
@@
-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;