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

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Jul 13 00:55:30 PDT 2022


On 7/12/22 22:49, 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>
> ---

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>

-ck





More information about the Linux-nvme mailing list