block: don't call into the driver for BLKROSET
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Nov 2020 10:00:15 +0000 (11:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:14:29 +0000 (08:14 -0700)
commit732e12d805a77f74c907c0a28ece271ef1e81e01
tree4cff0fc2859dff39ad803449a3114c1389ea13d3
parent2c1b6ec170423bb032e825d4d9b2780bac4ce1a9
block: don't call into the driver for BLKROSET

Now that all drivers that want to hook into setting or clearing the
read-only flag use the set_read_only method, this code can be removed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/ioctl.c