md: add a new api prepare_suspend() in md_personality
authorYu Kuai <yukuai3@huawei.com>
Fri, 12 May 2023 01:56:09 +0000 (09:56 +0800)
committerSong Liu <song@kernel.org>
Tue, 13 Jun 2023 22:13:21 +0000 (15:13 -0700)
commit3e00777d51572bdd75cef29c9c31106b52d7cc8f
tree24443a82e0f68ef994b8bea2532b4720c22a2fb9
parent431e61257d631157e1d374f1368febf37aa59f7c
md: add a new api prepare_suspend() in md_personality

There are no functional changes, the new api will be used later to do
special handling for raid456 in md_suspend().

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