commit | 2c9973847fa0230ea82935a9c486cb38ef599893 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Mon Nov 06 10:28:00 2017 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Jan 22 16:08:11 2018 +0100 |
tree | f3e2f3fdc7ccd7ada0cb0b4d3c49dd3f19545966 | |
parent | 96b09dde92515956c992c1b330f00399487f47b3 [diff] |
btrfs: move volume_mutex into the btrfs_rm_device() A cleanup patch no functional change, we hold volume_mutex before calling btrfs_rm_device, so move it into the function itself. Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>