diff options
author | David Sterba | 2018-03-20 17:20:45 +0100 |
---|---|---|
committer | David Sterba | 2018-05-28 18:07:24 +0200 |
commit | 72b81abf95ae8d2c78c5f38197f47597cf192d2b (patch) | |
tree | 2d71c6d74fd7f3e21672b06a471092641db9844d /block/t10-pi.c | |
parent | btrfs: move btrfs_init_dev_replace_tgtdev to dev-replace.c and make static (diff) | |
download | kernel-qcow2-linux-72b81abf95ae8d2c78c5f38197f47597cf192d2b.tar.gz kernel-qcow2-linux-72b81abf95ae8d2c78c5f38197f47597cf192d2b.tar.xz kernel-qcow2-linux-72b81abf95ae8d2c78c5f38197f47597cf192d2b.zip |
btrfs: move volume_mutex to callers of btrfs_rm_device
Move locking and unlocking next to the BTRFS_FS_EXCL_OP bit manipulation
so it's obvious that the two happen at the same time.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions