[PATCH V4 0/4] nvmet: admin-cmd related cleanups and a fix

Chaitanya Kulkarni Chaitanya.Kulkarni at wdc.com
Wed Jan 13 22:34:36 EST 2021


On 1/13/21 5:34 PM, Chaitanya Kulkarni wrote:
> Hi,
>
> There are three functions where local variable ns is used instead of
> using req->ns which leads to duplicate nvmet_put_namespace() calls.
> We can just use req->ns and not the local variable to avoid duplicate
> calls.
>
> The first patch sets the right error status code when namespace is not
> found in nvmet_execute_identify_ns().
>
> I've tested this series with nvme blktests, all the testcases are
> passing.
>
> -ck
>
Thanks for the reviewed-by tags Sagi.



More information about the Linux-nvme mailing list