btrfs: use GFP_KERNEL in init_ipath
authorDavid Sterba <dsterba@suse.com>
Wed, 31 May 2017 17:32:09 +0000 (19:32 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:02 +0000 (18:26 +0200)
commitf54de068dda73e337972481eabd103671859b2aa
tree3233b63f1cbe19b8cb6506ca12a97513f47545aa
parentde2491fdefe7e599fa08a81a1b89d03c96c9cbc3
btrfs: use GFP_KERNEL in init_ipath

Now that init_ipath is called either from a safe context or with
memalloc_nofs protection, we can switch to GFP_KERNEL allocations in
init_path and init_data_container.

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