btrfs: switch kmallocs to GFP_KERNEL in lzo/zlib alloc_workspace
authorDavid Sterba <dsterba@suse.com>
Wed, 31 May 2017 15:21:15 +0000 (17:21 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:02 +0000 (18:26 +0200)
commit389a6cfc2afb833e65b93ad6d8220ad1a84538a2
tree14065dc73f5eaf3463c32b3c8d0b465e3187c107
parentfe30853307559c3ec237391507c2b395095aa151
btrfs: switch kmallocs to GFP_KERNEL in lzo/zlib alloc_workspace

As alloc_workspace is now protected by memalloc_nofs where needed,
we can switch the kmalloc to use GFP_KERNEL.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/lzo.c
fs/btrfs/zlib.c