]> www.infradead.org Git - users/hch/block.git/commit
md: replace sysfs api sync_action with new helpers
authorYu Kuai <yukuai3@huawei.com>
Tue, 11 Jun 2024 13:22:44 +0000 (21:22 +0800)
committerSong Liu <song@kernel.org>
Wed, 12 Jun 2024 16:27:49 +0000 (16:27 +0000)
commitc8ecfe680c371db2a6d125de5d6bc2398950e9cf
tree1642dc7e9dced00fa79d396cf1cc998ee8a22313
parent207c5656c33d56b3759d0876b68fa56cb56e5c51
md: replace sysfs api sync_action with new helpers

To get rid of extrem long if else if usage, and make code cleaner.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240611132251.1967786-6-yukuai1@huaweicloud.com
drivers/md/md.c