commit | e17125b52b7ec1075fae408e1a1da8005116e34a | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Sat Sep 05 01:34:31 2020 +0800 |
committer | David Sterba <dsterba@suse.com> | Wed Oct 07 12:12:22 2020 +0200 |
tree | 0f80e25f0b912013709d20a04a18def836bd6ba4 | |
parent | 2fca0db07608a303dbe9db802ecca678e358dca9 [diff] |
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 <anand.jain@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>