diff options
author | Li Nan <[email protected]> | 2023-05-22 15:25:34 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2023-06-13 15:13:22 -0700 |
commit | f8b20a405428803bd9881881d8242c9d72c6b2b2 (patch) | |
tree | 37510d78af1867c1914d69411cfd8a77fb11e308 /scripts/gdb/linux/timerlist.py | |
parent | 6beb489b2eed25978523f379a605073f99240c50 (diff) |
md/raid10: fix wrong setting of max_corr_read_errors
There is no input check when echo md/max_read_errors and overflow might
occur. Add check of input number.
Fixes: 1e50915fe0bb ("raid: improve MD/raid10 handling of correctable read errors.")
Signed-off-by: Li Nan <[email protected]>
Reviewed-by: Yu Kuai <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions