diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-06-11 21:22:49 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-06-12 16:32:57 +0000 |
commit | bbf2076277b137f03624259da0a0369af88f3a68 (patch) | |
tree | 1ce524bc3d6a159bf061c816f121f5d93e911351 /tools/accounting | |
parent | d249e541887a966df37544f7c4d301cdee0f0e27 (diff) |
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: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240611132251.1967786-11-yukuai1@huaweicloud.com
Diffstat (limited to 'tools/accounting')
0 files changed, 0 insertions, 0 deletions