commit | 72b81abf95ae8d2c78c5f38197f47597cf192d2b | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Tue Mar 20 17:20:45 2018 +0100 |
committer | David Sterba <dsterba@suse.com> | Mon May 28 18:07:24 2018 +0200 |
tree | 2d71c6d74fd7f3e21672b06a471092641db9844d | |
parent | d48f39d5a529244f59454386208c6da92bb1c493 [diff] |
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>