]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: use GFP_KERNEL in btrfs_init_dev_replace_tgtdev
authorDavid Sterba <dsterba@suse.com>
Thu, 15 Jun 2017 15:16:43 +0000 (17:16 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:04 +0000 (18:26 +0200)
commit6165572c1139dd694afb8e382a5f06e7e0fa4ad8
tree8255e73caed390a1bc2a804cb927df635ea515fa
parent6a44517d79a394b7f317d782ed47fd4c4bccf7e8
btrfs: use GFP_KERNEL in btrfs_init_dev_replace_tgtdev

The function is called from ioctl context and we don't hold any locks
that take part in writeback. Right now it's only fs_info::volume_mutex.

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