md-bitmap: remove the checking of 'pers->quiesce' from location_store()
authorYu Kuai <yukuai3@huawei.com>
Fri, 25 Aug 2023 03:09:53 +0000 (11:09 +0800)
committerSong Liu <song@kernel.org>
Fri, 22 Sep 2023 17:28:27 +0000 (10:28 -0700)
commitb71fe4ac7531d67e6fc8c287cbcb2b176aa93833
tree87c63452502c2642523e04f67488c8aa46b23c53
parentb721e7885eb242aa2459ee66bb42ceef1bcf0f0c
md-bitmap: remove the checking of 'pers->quiesce' from location_store()

After commit 4d27e927344a ("md: don't quiesce in mddev_suspend()"),
there is no need to check 'pers->quiesce' before calling
mddev_suspend().

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