[PATCH 1/6] dm: use bdev_read_only to check if a device is read-only

Martin K. Petersen martin.petersen at oracle.com
Tue Dec 8 00:23:22 EST 2020


Christoph,

> dm-thin and dm-cache also work on partitions, so use the proper
> interface to check if the device is read-only.

Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list