Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit bbf20762 authored by Yu Kuai's avatar Yu Kuai Committed by Song Liu
Browse files

md: factor out helpers for different sync_action in md_do_sync()


Make code cleaner by replacing if else if with switch, and it's more
obvious now what is doing for each sync_action. There are no
functional changes.

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Signed-off-by: default avatarSong Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240611132251.1967786-11-yukuai1@huaweicloud.com
parent d249e541
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment