btrfs: use GFP_KERNEL for allocations in ioctl handlers
authorDavid Sterba <dsterba@suse.com>
Wed, 4 Nov 2015 14:38:29 +0000 (15:38 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 3 Dec 2015 14:03:43 +0000 (15:03 +0100)
commit8d2db7855e7b65c9eecc8789fc54d818ee281ac6
tree561d6363bc06a1c51445005c749cc38fa4cd252a
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4
btrfs: use GFP_KERNEL for allocations in ioctl handlers

We don't have to use GFP_NOFS in the ioctl handlers because there's no
risk of looping through the allocators back to the filesystem. This
patch covers only allocations that are directly in the ioctl handlers.

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