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
This commit is contained in:
Yu Kuai 2023-05-12 09:56:09 +08:00 • committed by Song Liu
commit 3e00777d51
2 changed files with 5 additions and 0 deletions