btrfs: use GFP_KERNEL for allocations of workqueues
authorDavid Sterba <dsterba@suse.com>
Tue, 1 Dec 2015 17:04:30 +0000 (18:04 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 3 Dec 2015 14:03:43 +0000 (15:03 +0100)
commit61dd5ae65be6dfaeadb0e841ea6639351f0e04ce
tree78de68714e530eb4beb3c68adaf5f312ceed1a0c
parent8d2db7855e7b65c9eecc8789fc54d818ee281ac6
btrfs: use GFP_KERNEL for allocations of workqueues

We don't have to use GFP_NOFS to allocate workqueue structures, this is
done from mount context or potentially scrub start context, safe to fail
in both cases.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/async-thread.c