Skip to content
Commit 1147dd05 authored by Anuj Gupta's avatar Anuj Gupta Committed by Keith Busch
Browse files

nvme: fix error-handling for io_uring nvme-passthrough



Driver may return an error before submitting the command to the device.
Ensure that such error is propagated up.

Fixes: 456cba38 ("nvme: wire-up uring-cmd support for io-passthru on char-device.")
Signed-off-by: default avatarAnuj Gupta <anuj20.g@samsung.com>
Signed-off-by: default avatarKanchan Joshi <joshi.k@samsung.com>
Reviewed-by: default avatarNiklas Cassel <niklas.cassel@wdc.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent 983a338b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment