Skip to content
Commit 4a52acc9 authored by Ye Bin's avatar Ye Bin Committed by Greg Kroah-Hartman
Browse files

md: introduce md_ro_state

[ Upstream commit f97a5528

 ]

Introduce md_ro_state for mddev->ro, so it is easy to understand.

Signed-off-by: default avatarYe Bin <yebin10@huawei.com>
Signed-off-by: default avatarSong Liu <song@kernel.org>
Stable-dep-of: c9f7cb5b

 ("md: don't leave 'MD_RECOVERY_FROZEN' in error path of md_set_readonly()")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 940a7bcd
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