md/md-linear: cleanup linear_add()
authorYu Kuai <yukuai3@huawei.com>
Tue, 10 Oct 2023 15:19:54 +0000 (23:19 +0800)
committerSong Liu <song@kernel.org>
Wed, 11 Oct 2023 01:49:51 +0000 (18:49 -0700)
commit1978c742f3e7ef359b83cb712f8559fcd32032d0
tree8505fbc7e9f4cdf2829a8b2aba9d731d82409319
parentb4128c00a653dfd08fbe3d26fcf4c8b4970a69ba
md/md-linear: cleanup linear_add()

Now that caller already suspend the array, there is no need to suspend
array in liner_add().

Note that mddev_suspend/resume() is not used anymore.

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