commit | 7a2f0ce19f2e2ed93b5ace60375b908392ec8afb | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Nov 03 11:00:16 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Nov 16 08:14:29 2020 -0700 |
tree | ddc33d08fea0908339cfa45cfe15a862dfc1589f | |
parent | 732e12d805a77f74c907c0a28ece271ef1e81e01 [diff] |
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>