summaryrefslogtreecommitdiffstats
path: root/drivers/opp/of.c
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2023-07-06 16:37:27 +0800
committerSong Liu <song@kernel.org>2023-07-27 00:13:30 -0700
commit44abfa6a95df425c0660d56043020b67e6d93ab8 (patch)
tree302427e26586fcb1107f64b45adf5f99fbe60f92 /drivers/opp/of.c
parentb4d129640f194ffc4cc64c3e97f98ae944c072e8 (diff)
downloadlinux-stable-44abfa6a95df425c0660d56043020b67e6d93ab8.tar.gz
linux-stable-44abfa6a95df425c0660d56043020b67e6d93ab8.tar.bz2
linux-stable-44abfa6a95df425c0660d56043020b67e6d93ab8.zip
md/md-bitmap: hold 'reconfig_mutex' in backlog_store()
Several reasons why 'reconfig_mutex' should be held: 1) rdev_for_each() is not safe to be called without the lock, because rdev can be removed concurrently. 2) mddev_destroy_serial_pool() and mddev_create_serial_pool() should not be called concurrently. 3) mddev_suspend() from mddev_destroy/create_serial_pool() should be protected by the lock. Fixes: 10c92fca636e ("md-bitmap: create and destroy wb_info_pool with the change of backlog") Signed-off-by: Yu Kuai <yukuai3@huawei.com> Link: https://lore.kernel.org/r/20230706083727.608914-3-yukuai1@huaweicloud.com Signed-off-by: Song Liu <song@kernel.org>
Diffstat (limited to 'drivers/opp/of.c')
0 files changed, 0 insertions, 0 deletions