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
This commit is contained in:
Yu Kuai 2023-08-25 11:09:53 +08:00 committed by Song Liu
parent b721e7885e
commit b71fe4ac75
1 changed files with 0 additions and 4 deletions

View File

@ -2352,10 +2352,6 @@ location_store(struct mddev *mddev, const char *buf, size_t len)
if (rv)
return rv;
if (mddev->pers) {
if (!mddev->pers->quiesce) {
rv = -EBUSY;
goto out;
}
if (mddev->recovery || mddev->sync_thread) {
rv = -EBUSY;
goto out;