[PATCH 2/6] block: remove the NULL bdev check in bdev_read_only

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


Christoph,

> Only a single caller can end up in bdev_read_only, so move the check there.

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

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list