md/md-bitmap: use new apis to suspend array for location_store()
authorYu Kuai <yukuai3@huawei.com>
Tue, 10 Oct 2023 15:19:46 +0000 (23:19 +0800)
committerSong Liu <song@kernel.org>
Wed, 11 Oct 2023 01:49:50 +0000 (18:49 -0700)
commit3cddf86a57a58441eb019d21acea147f043dc13c
tree63fc239b82a194fc7bdef8248cd75668d15d7553
parent4eb3327aa28f3a737c2d3f7e35e83575f1d52283
md/md-bitmap: use new apis to suspend array for location_store()

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

This is 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-8-yukuai1@huaweicloud.com
drivers/md/md-bitmap.c