]> git.baikalelectronics.ru Git - kernel.git/commit
md: implement ->set_read_only to hook into BLKROSET processing
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Nov 2020 10:00:13 +0000 (11:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:14:29 +0000 (08:14 -0700)
commit048c5b3fea5ec9c7110ff0051761a2932f759ec5
tree30518c7fbb353c3725a49363cbf6043ded08cf8a
parent5ec28e95e80ff7d7c742eea7316de7224b0c6644
md: implement ->set_read_only to hook into BLKROSET processing

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Song Liu <song@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/md.c