Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit df79234b authored by Yu Kuai's avatar Yu Kuai Committed by Song Liu
Browse files

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: default avatarYu Kuai <yukuai3@huawei.com>
Signed-off-by: default avatarSong Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240611132251.1967786-7-yukuai1@huaweicloud.com
parent c8ecfe68
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment