diff options
| author | Yu Kuai <[email protected]> | 2023-07-08 09:21:53 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2023-07-25 15:55:50 +0000 |
| commit | 7d5fff8982a2199d49ec067818af7d84d4f95ca0 (patch) | |
| tree | 56a7b3a6737322298ffb27f415901d17133c686f /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | dm raid: clean up four equivalent goto tags in raid_ctr() (diff) | |
| download | kernel-7d5fff8982a2199d49ec067818af7d84d4f95ca0.tar.gz kernel-7d5fff8982a2199d49ec067818af7d84d4f95ca0.zip | |
dm raid: protect md_stop() with 'reconfig_mutex'
__md_stop_writes() and __md_stop() will modify many fields that are
protected by 'reconfig_mutex', and all the callers will grab
'reconfig_mutex' except for md_stop().
Also, update md_stop() to make certain 'reconfig_mutex' is held using
lockdep_assert_held().
Fixes: 9d09e663d550 ("dm: raid456 basic support")
Signed-off-by: Yu Kuai <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
