diff options
author | Chris Mason <clm@fb.com> | 2016-01-27 09:38:45 -0500 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2016-01-27 10:05:49 -0500 |
commit | e1c0ebad3f77387c6684f8b7e86a4bbaca7577ac (patch) | |
tree | 8fb769c0025d0c144a3bf204ed064f1274963849 /fs | |
parent | d32a4e34348869a273a01139112a13fc6870f003 (diff) |
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/free-space-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-tree.c b/fs/btrfs/free-space-tree.c index dfa8124effb8..81a053d2966b 100644 --- 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) | |||
164 | if (bitmap_size <= PAGE_SIZE) | 164 | if (bitmap_size <= PAGE_SIZE) |
165 | return kzalloc(bitmap_size, GFP_NOFS); | 165 | return kzalloc(bitmap_size, GFP_NOFS); |
166 | 166 | ||
167 | mem = kzalloc(bitmap_size, GFP_NOFS | __GFP_HIGHMEM | __GFP_NOWARN); | 167 | mem = kzalloc(bitmap_size, GFP_NOFS | __GFP_NOWARN); |
168 | if (mem) | 168 | if (mem) |
169 | return mem; | 169 | return mem; |
170 | 170 | ||