aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAnand Jain <[email protected]>2018-04-12 02:29:34 +0000
committerDavid Sterba <[email protected]>2018-05-28 16:23:15 +0000
commit542c5908abfe84f7b4c1717492ecc92ea0ea328d (patch)
tree3b94ce4b3adba78f045f537067e5355b7ac4ad4d /fs/btrfs/dev-replace.c
parentbtrfs: document uuid_mutex uasge in read_chunk_tree (diff)
downloadkernel-542c5908abfe84f7b4c1717492ecc92ea0ea328d.tar.gz
kernel-542c5908abfe84f7b4c1717492ecc92ea0ea328d.zip
btrfs: replace uuid_mutex by device_list_mutex in btrfs_open_devices
btrfs_open_devices() is using the uuid_mutex, but as btrfs_open_devices is just limited to openning all the devices under for given fsid, so we don't need uuid_mutex. Instead it should hold the device_list_mutex as it updates the members of the btrfs_fs_devices and btrfs_device and not the whole fs_devs list. Signed-off-by: Anand Jain <[email protected]> Reviewed-by: David Sterba <[email protected]> [ update changelog ] Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions