Skip to content
Commit 54d21eb6 authored by Yu Kuai's avatar Yu Kuai Committed by Song Liu
Browse files

md: don't check 'mddev->pers' and 'pers->quiesce' from suspend_lo_store()



Now that mddev_suspend() doean't rely on 'mddev->pers' to be set, it's
safe to remove such checking.

This will also allow the array to be suspended even before the array
is ran.

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Signed-off-by: default avatarSong Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230825030956.1527023-8-yukuai1@huaweicloud.com
parent a2a9f168
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment