aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorZheng Qixing <[email protected]>2025-02-27 07:55:05 +0000
committerJens Axboe <[email protected]>2025-03-06 15:03:28 +0000
commitc8775aefba959cdfbaa25408a84d3dd15bbeb991 (patch)
tree4dd0a3bb535d85f6c5666e0c064e62f7644ce337 /drivers/md/raid1.c
parentbadblocks: fix missing bad blocks on retry in _badblocks_check() (diff)
downloadkernel-c8775aefba959cdfbaa25408a84d3dd15bbeb991.tar.gz
kernel-c8775aefba959cdfbaa25408a84d3dd15bbeb991.zip
badblocks: return boolean from badblocks_set() and badblocks_clear()
Change the return type of badblocks_set() and badblocks_clear() from int to bool, indicating success or failure. Specifically: - _badblocks_set() and _badblocks_clear() functions now return true for success and false for failure. - All calls to these functions are updated to handle the new boolean return type. - This change improves code clarity and ensures a more consistent handling of success and failure states. Signed-off-by: Zheng Qixing <[email protected]> Reviewed-by: Yu Kuai <[email protected]> Acked-by: Coly Li <[email protected]> Acked-by: Ira Weiny <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions