summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-11-03 11:00:16 +0100
committerJens Axboe <axboe@kernel.dk>2020-11-16 16:14:29 +0100
commit7a2f0ce19f2e2ed93b5ace60375b908392ec8afb (patch)
treeddc33d08fea0908339cfa45cfe15a862dfc1589f /include
parentblock: don't call into the driver for BLKROSET (diff)
downloadlinux-7a2f0ce19f2e2ed93b5ace60375b908392ec8afb.tar.xz
linux-7a2f0ce19f2e2ed93b5ace60375b908392ec8afb.zip
loop: use set_disk_ro
Use set_disk_ro instead of set_device_ro to match all other block drivers and to ensure all partitions mirror the read-only flag. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions