mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
md: introduce md_ro_state
[ Upstream commitf97a5528b2] Introduce md_ro_state for mddev->ro, so it is easy to understand. Signed-off-by: Ye Bin <yebin10@huawei.com> Signed-off-by: Song Liu <song@kernel.org> Stable-dep-of:c9f7cb5b2b("md: don't leave 'MD_RECOVERY_FROZEN' in error path of md_set_readonly()") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a38c1e766f
commit
5255ded034
1 changed files with 82 additions and 70 deletions
152
drivers/md/md.c
152
drivers/md/md.c
Loading…
Add table
Add a link
Reference in a new issue