aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2025-02-27 20:04:52 +0800
committerYu Kuai <yukuai@kernel.org>2025-03-05 00:31:27 +0800
commit1320fe874175fac395fa693195db68b2001c4d8f (patch)
treea61d8749aadcf5f8cb0d715a408c9cc8bb5c2de5 /scripts/gdb/linux/utils.py
parentmd: fix mddev uaf while iterating all_mddevs list (diff)
downloadwireguard-linux-1320fe874175fac395fa693195db68b2001c4d8f.tar.xz
wireguard-linux-1320fe874175fac395fa693195db68b2001c4d8f.zip
md/raid5: merge reshape_progress checking inside get_reshape_loc()
During code review, it's found that other than raid5_bitmap_sector(), reshape_progress is always checked before get_reshape_loc(), while raid5_bitmap_sector() should check as well to prevent holding the lock 'conf->device_lock'. Hence merge that checking inside get_reshape_loc(). Link: https://lore.kernel.org/linux-raid/20250227120452.808503-1-yukuai1@huaweicloud.com Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions