block: remove set_device_ro
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Nov 2020 10:00:17 +0000 (11:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Nov 2020 15:14:29 +0000 (08:14 -0700)
commit98f49b63e84d4ee1a5c327d0b5f4e8699f6c70fe
tree28189dec1c4433734a6033c522c9ad89e6c364cc
parent7a2f0ce19f2e2ed93b5ace60375b908392ec8afb
block: remove set_device_ro

Fold set_device_ro into its only remaining caller.

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