rbd: remove the ->set_read_only method
authorChristoph Hellwig <hch@lst.de>
Sat, 9 Jan 2021 10:42:53 +0000 (11:42 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 01:15:57 +0000 (18:15 -0700)
commitcbf72cce6370b3ec1a6073cf777ab9b6ba5bf5b9
tree37ff838241371baf6feb475fe1e72cd51b9a73cf
parent947139bf3cce097739380c9782a35de504f24203
rbd: remove the ->set_read_only method

Now that the hardware read-only state can't be changed by the BLKROSET
ioctl, the code in this method is not required anymore.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rbd.c