aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2024-06-11 13:22:49 +0000
committerSong Liu <[email protected]>2024-06-12 16:32:57 +0000
commitbbf2076277b137f03624259da0a0369af88f3a68 (patch)
tree1ce524bc3d6a159bf061c816f121f5d93e911351 /rust/helpers.c
parentmd: replace last_sync_action with new enum type (diff)
downloadkernel-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