md: introduce md_ro_state
authorYe Bin <yebin10@huawei.com>
Tue, 20 Sep 2022 02:39:38 +0000 (10:39 +0800)
committerSong Liu <song@kernel.org>
Mon, 14 Nov 2022 17:35:50 +0000 (09:35 -0800)
commitf97a5528b21eb175d90dce2df9960c8d08e1be82
tree2fa57d0a2137980a9be6b130b6e66c0d5faf35f7
parent2f6d261e15e8d09a22192aa943c5ed8a792f04ef
md: introduce md_ro_state

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>
drivers/md/md.c