Re: [PATCH 2/6] nvmet: set status on actual error condition
From: Christoph Hellwig <hch@lst.de>
Date: 2021-02-24 16:31:07
From: Christoph Hellwig <hch@lst.de>
Date: 2021-02-24 16:31:07
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. _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme