[PATCH 2/6] nvmet: set status on actual error condition

Christoph Hellwig hch at lst.de
Wed Feb 24 11:30:44 EST 2021


On Tue, Feb 16, 2021 at 01:31:08PM -0800, Chaitanya Kulkarni wrote:
> In the nvmet_alloc_ctrl() set the status variable to its error value
> NVME_SC_CONNECT_INVALID_PARAM | NVME_SC_DNR in the actual error
> condition just like the rest of the code.

This is a pretty normal pattern in the kernel, so I don't see much
of a point to change it.



More information about the Linux-nvme mailing list