diff options
| author | Yu Kuai <[email protected]> | 2024-06-11 13:22:49 +0000 |
|---|---|---|
| committer | Song Liu <[email protected]> | 2024-06-12 16:32:57 +0000 |
| commit | bbf2076277b137f03624259da0a0369af88f3a68 (patch) | |
| tree | 1ce524bc3d6a159bf061c816f121f5d93e911351 /rust/helpers.c | |
| parent | md: replace last_sync_action with new enum type (diff) | |
| download | kernel-bbf2076277b137f03624259da0a0369af88f3a68.tar.gz kernel-bbf2076277b137f03624259da0a0369af88f3a68.zip | |
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 <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
