summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorChen Cheng <chencheng@fnnas.com>2026-09-21 15:16:53 +0800
committerYu Kuai <yukuai@fygo.io>2026-09-22 15:21:06 +0800
commitf064aa93d84b730f2f0fe795305579dc71e41392 (patch)
tree5a622c066a45003baef9dc5b270a2884f483432e /tools/lib/python
parent08c8e27535f2688fbe2d8f965477eafd5826f556 (diff)
md/raid5: reject invalid reshape disks in raid5_run()
Check disk count before dividing by data disks while assembling a reshape, otherwise too few disks can cause division by zero. Reported-by: sashiko-bot <sashiko-bot@kernel.org> Link: https://lore.kernel.org/r/20260911042717.487AC1F00898@smtp.kernel.org/ Signed-off-by: Chen Cheng <chencheng@fnnas.com> Link: https://patch.msgid.link/acf8254263d4d40bd65c5b39058d4527cfb44cd9.1789974245.git.chencheng@fnnas.com Signed-off-by: Yu Kuai <yukuai@fygo.io>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions