Re: [PATCH v2] md: cleanup pers->prepare_suspend()

From: Song Liu
Date: Wed Oct 18 2023 - 12:23:57 EST


On Sun, Oct 15, 2023 at 7:06 PM Yu Kuai <yukuai1@xxxxxxxxxxxxxxx> wrote:
>
> From: Yu Kuai <yukuai3@xxxxxxxxxx>
>
> pers->prepare_suspend() is not used anymore and can be removed.
>
> Reverts following three commit:
>
> - commit 431e61257d63 ("md: export md_is_rdwr() and is_md_suspended()")
> - commit 3e00777d5157 ("md: add a new api prepare_suspend() in
> md_personality")
> - commit 868bba54a3bc ("md/raid5: fix a deadlock in the case that reshape
> is interrupted")
>
> Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx>

Applied to md-next.

Thanks,
Song