]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use GFP_KERNEL in create_snapshot
authorDavid Sterba <dsterba@suse.com>
Mon, 13 Feb 2017 10:03:44 +0000 (11:03 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 11:03:48 +0000 (12:03 +0100)
commit202452bcf68918a7edeac75e227d4a0d14f8bbd4
tree27bde2c60653ef5fc3f8a5ee37dc5e89f7c5d1d0
parente2e1e1efbbdcd66abd3c54819b8eea4acc3a0810
btrfs: use GFP_KERNEL in create_snapshot

We don't need to use GFP_NOFS here as this is called from ioctls an the
only lock held is the subvol_sem, which is of a high level and protects
creation/renames/deletion and is never held in the writeout paths.

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