]> www.infradead.org Git - users/hch/misc.git/commit
badblocks: factor out a helper try_adjacent_combine
authorLi Nan <linan122@huawei.com>
Thu, 27 Feb 2025 07:54:57 +0000 (15:54 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 6 Mar 2025 15:03:27 +0000 (08:03 -0700)
commit270b68fee9688428e0a98d4a2c3e6d4c434a84ba
tree5788469098eb4e0d9e5ed17c549d459e151c43a1
parent7d83c5d73c1a3c7b71ba70d0ad2ae66e7a0e7ace
badblocks: factor out a helper try_adjacent_combine

Factor out try_adjacent_combine(), and it will be used in the later patch.

Signed-off-by: Li Nan <linan122@huawei.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20250227075507.151331-3-zhengqixing@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/badblocks.c