]> www.infradead.org Git - users/hch/block.git/commit
md: add new helpers for sync_action
authorYu Kuai <yukuai3@huawei.com>
Tue, 11 Jun 2024 13:22:42 +0000 (21:22 +0800)
committerSong Liu <song@kernel.org>
Wed, 12 Jun 2024 16:27:49 +0000 (16:27 +0000)
commite792a4c2156a392d8126bf0496f74407a21a8824
tree96fd8fc3425192dfa342a795cf76b45dc79df34f
parenta85aa09da2f2773c685310666ef09f935ff68a45
md: add new helpers for sync_action

The new helpers will get current sync_action of the array, will be used
in later patches to 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-4-yukuai1@huaweicloud.com
drivers/md/md.c
drivers/md/md.h