diff options
author | 2025-02-27 15:55:01 +0800 | |
---|---|---|
committer | 2025-03-06 08:03:28 -0700 | |
commit | 37446680dfbfbba7cbedd680047182f70a0b857b (patch) | |
tree | 7817fc55a8532bfec49623227bdb53f9d56882a9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | badblocks: return error if any badblock set fails (diff) | |
download | wireguard-linux-37446680dfbfbba7cbedd680047182f70a0b857b.tar.xz wireguard-linux-37446680dfbfbba7cbedd680047182f70a0b857b.zip |
badblocks: fix the using of MAX_BADBLOCKS
The number of badblocks cannot exceed MAX_BADBLOCKS, but it should be
allowed to equal MAX_BADBLOCKS.
Fixes: aa511ff8218b ("badblocks: switch to the improved badblock handling code")
Fixes: c3c6a86e9efc ("badblocks: add helper routines for badblock ranges handling")
Signed-off-by: Li Nan <linan122@huawei.com>
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Acked-by: Coly Li <colyli@kernel.org>
Link: https://lore.kernel.org/r/20250227075507.151331-7-zhengqixing@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions