]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: implement ->set_read_only to hook into BLKROSET processing
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Nov 2020 10:00:12 +0000 (11:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:14:29 +0000 (08:14 -0700)
commit5ec28e95e80ff7d7c742eea7316de7224b0c6644
tree9debcc0070dfc02ac38d308d2ca9ab5d13a56573
parentb83d798abf56498c2a519d17ef96052328021b9e
rbd: 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: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rbd.c