diff options
| author | 2026-09-21 15:16:53 +0800 | |
|---|---|---|
| committer | 2026-09-22 15:21:06 +0800 | |
| commit | f064aa93d84b730f2f0fe795305579dc71e41392 (patch) | |
| tree | 5a622c066a45003baef9dc5b270a2884f483432e /scripts/Makefile.thinlto | |
| parent | md/raid5: extract min_raid_disks() (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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
