[PATCH 4/5] nvme: factor out a nvme_ns_is_readonly helper

Kanchan Joshi joshi.k at samsung.com
Wed Jul 13 03:26:11 PDT 2022


On Wed, Jul 13, 2022 at 07:49:13AM +0200, Christoph Hellwig wrote:
>Add a little helper to check if a namespace should be marked read-only
>that uses a new is_readonly flag in the nvme_ns_info structure.
>
>Signed-off-by: Christoph Hellwig <hch at lst.de>

Reviewed-by: Kanchan Joshi <joshi.k at samsung.com>


More information about the Linux-nvme mailing list