diff options
| author | Anand Jain <[email protected]> | 2020-09-04 17:34:31 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-10-07 10:12:22 +0000 |
| commit | e17125b52b7ec1075fae408e1a1da8005116e34a (patch) | |
| tree | 0f80e25f0b912013709d20a04a18def836bd6ba4 /fs/btrfs/dev-replace.c | |
| parent | btrfs: reada: lock all seed/sprout devices in __reada_start_machine (diff) | |
| download | kernel-e17125b52b7ec1075fae408e1a1da8005116e34a.tar.gz kernel-e17125b52b7ec1075fae408e1a1da8005116e34a.zip | |
btrfs: use sprout device_list_mutex in btrfs_init_devices_late
On a mounted sprout filesystem, all threads now are using the
sprout::device_list_mutex, and this is the only code using the
seed::device_list_mutex. This patch converts to use the sprouts
fs_info->fs_devices->device_list_mutex.
The same reasoning holds true here, that device delete is holding
the sprout::device_list_mutex.
Signed-off-by: Anand Jain <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
