[PATCH] nvme: re-fix error-handling for io_uring nvme-passthrough

Keith Busch kbusch at kernel.org
Tue Oct 29 06:46:11 PDT 2024


On Mon, Oct 28, 2024 at 01:52:53PM -0700, Keith Busch wrote:
> @@ -422,9 +422,13 @@ static enum rq_end_io_ret nvme_uring_cmd_end_io(struct request *req,
>  	struct nvme_uring_cmd_pdu *pdu = nvme_uring_cmd_pdu(ioucmd);
>  
>  	if (nvme_req(req)->flags & NVME_REQ_CANCELLED)
> +	if (nvme_req(req)->flags & NVME_REQ_CANCELLED) {

There should have been a '-' sign in front of that first if statement.
Fixed up and pushed to nvme-6.12.



More information about the Linux-nvme mailing list