Skip to content
Snippets Groups Projects
Commit ab25f7cd authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Sasha Levin
Browse files

md: implement ->set_read_only to hook into BLKROSET processing


[ Upstream commit 118cf084 ]

Implement the ->set_read_only method instead of parsing the actual
ioctl command.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarSong Liu <song@kernel.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Stable-dep-of: 9674f54e ("md: Don't clear MD_CLOSING when the raid is about to stop")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2a0f8202
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment