diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-06-11 21:22:45 +0800 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2024-06-12 16:27:50 +0000 |
commit | df79234bdc3f441bec99dfc8199b6f2c673203ed (patch) | |
tree | b872d79565bc1982cabc19e09f53541da32a6469 /rust/helpers.c | |
parent | c8ecfe680c371db2a6d125de5d6bc2398950e9cf (diff) |
md: remove parameter check_seq for stop_sync_thread()
Caller will always set MD_RECOVERY_FROZEN if check_seq is true, and
always clear MD_RECOVERY_FROZEN if check_seq is false, hence replace
the parameter with test_bit() to make code cleaner.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240611132251.1967786-7-yukuai1@huaweicloud.com
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions