[PATCH v4 0/3] md: bugfix of writing raid sysfs
From: linan666
Date: Mon May 22 2023 - 03:27:24 EST
From: Li Nan <linan122@xxxxxxxxxx>
The patch series fix the bug of writing raid sysfs.
Changes in v4:
- in patch 1, check overflow in safe_delay_store() directly.
- in patch 2, check input number instead of using unsigned int.
Li Nan (3):
md/raid10: fix overflow of md/safe_mode_delay
md/raid10: fix wrong setting of max_corr_read_errors
md/raid10: optimize check_decay_read_errors()
drivers/md/md.c | 9 ++++++---
drivers/md/raid10.c | 41 ++++++++++++++++++++++++-----------------
2 files changed, 30 insertions(+), 20 deletions(-)
--
2.31.1