diff options
author | Yu Kuai <yukuai3@huawei.com> | 2023-08-25 11:09:55 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-09-22 10:28:27 -0700 |
commit | a2a9f16838509475ea6801f7794a89e03d55e3ed (patch) | |
tree | ca7c1070cbd770e27d995c03bc8963813b9d1af7 /rust/build_error.rs | |
parent | 158d32af8710777b146f5303a5ca066b493d18e8 (diff) |
md: don't check 'mddev->pers' from suspend_hi_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: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230825030956.1527023-7-yukuai1@huaweicloud.com
Diffstat (limited to 'rust/build_error.rs')
0 files changed, 0 insertions, 0 deletions