md: cleanup pers->prepare_suspend()
authorYu Kuai <yukuai3@huawei.com>
Mon, 16 Oct 2023 10:02:40 +0000 (18:02 +0800)
committerSong Liu <song@kernel.org>
Wed, 18 Oct 2023 16:22:28 +0000 (09:22 -0700)
commit78b7b13f07a3ca16c03aa8bf63f51d6780e8e9e1
treef5c9f6dbd55b85a236b013e4596c21320a81ab8e
parent1bbe254e4336c0944dd4fb6f0b8c9665b81de50f
md: cleanup pers->prepare_suspend()

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@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20231016100240.540474-1-yukuai1@huaweicloud.com
drivers/md/md.c
drivers/md/md.h
drivers/md/raid5.c