diff options
author | Chris Mason <clm@fb.com> | 2016-01-27 06:38:45 -0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2016-01-27 07:05:49 -0800 |
commit | e1c0ebad3f77387c6684f8b7e86a4bbaca7577ac (patch) | |
tree | 8fb769c0025d0c144a3bf204ed064f1274963849 /fs/btrfs/free-space-tree.c | |
parent | d32a4e34348869a273a01139112a13fc6870f003 (diff) | |
download | linux-stable-e1c0ebad3f77387c6684f8b7e86a4bbaca7577ac.tar.gz linux-stable-e1c0ebad3f77387c6684f8b7e86a4bbaca7577ac.tar.bz2 linux-stable-e1c0ebad3f77387c6684f8b7e86a4bbaca7577ac.zip |
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/btrfs/free-space-tree.c')
-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) 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; |