Re: [dm-devel] [PATCH 31/78] loop: use set_disk_ro

2020-11-19 Thread Hannes Reinecke
On 11/16/20 3:57 PM, Christoph Hellwig wrote: 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 --- drivers/block/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[dm-devel] [PATCH 31/78] loop: use set_disk_ro

2020-11-16 Thread Christoph Hellwig
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 --- drivers/block/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/loop.c b/drivers/block/loo