aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-03-20 12:20:45 -0400
committerDavid Sterba <dsterba@suse.com>2018-05-28 12:07:24 -0400
commit72b81abf95ae8d2c78c5f38197f47597cf192d2b (patch)
tree2d71c6d74fd7f3e21672b06a471092641db9844d /fs/btrfs/dev-replace.c
parentd48f39d5a529244f59454386208c6da92bb1c493 (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>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions