md/raid5: use new apis to suspend array
authorYu Kuai <yukuai3@huawei.com>
Tue, 10 Oct 2023 15:19:48 +0000 (23:19 +0800)
committerSong Liu <song@kernel.org>
Wed, 11 Oct 2023 01:49:50 +0000 (18:49 -0700)
commite28ca92fbb5c6ed8fac5db65e02947bf020c5b60
tree7313402695e9e22c638e758f0057ffb26accc2db
parent1b172e0b11c00e89c5df72c2761b3d4d279fbb4d
md/raid5: use new apis to suspend array

Convert to use new apis, the old apis will be removed eventually.

These are not hot path, so performance is not concerned.

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