[PATCH] nvme: fix error handling in nvme_init_ctrl()

Chaitanya Kulkarni chaitanyak at nvidia.com
Mon Mar 27 11:23:05 PDT 2023


On 3/27/23 10:44, Akinobu Mita wrote:
> This fixes error handling when nvme_auth_init_ctrl() returns an error in
> nvme_init_ctrl().
>
> This problem is reproducible by blktests nvme/044.
> The nvme fault-injection debugfs directory was not removed after running
> the test.
>
> Reported-by: Chaitanya Kulkarni <kch at nvidia.com>
> Link: https://lore.kernel.org/linux-nvme/40baa75e-fdf5-cb73-5fa8-b12d65bce4e7@nvidia.com
> Signed-off-by: Akinobu Mita <akinobu.mita at gmail.com>
> ---
>   

Thanks for the fix, I believe you have tested this one.
Looks good.

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

-ck




More information about the Linux-nvme mailing list