[PATCH] btrfs: Use kvzalloc instead of kzalloc/vmalloc in alloc_bitmap

2017-05-25 Thread Vinnie Magro
Replace alloc_bitmap with call to kvzalloc. kvzalloc preserves the same fallback heuristic. Signed-off-by: Vinnie Magro <vma...@fb.com> --- fs/btrfs/free-space-tree.c | 23 ++- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/fs/btrfs/free-space-tree.

[PATCH] btrfs: Use kvzalloc instead of kzalloc/vmalloc in alloc_bitmap

2017-05-25 Thread Vinnie Magro
Replace alloc_bitmap with call to kvzalloc. kvzalloc preserves the same fallback heuristic. Signed-off-by: Vinnie Magro --- fs/btrfs/free-space-tree.c | 23 ++- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/fs/btrfs/free-space-tree.c b/fs/btrfs/free-space