]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted
authorHannes Reinecke <hare@suse.de>
Fri, 26 Feb 2021 07:17:28 +0000 (08:17 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 11 Mar 2021 10:48:34 +0000 (11:48 +0100)
commit942222efdbc3e98b601b9b97ee91c94116da13e5
treeb2d5511b995dbf82cbaa0aef58dc5fb8d3d9cb9a
parent61b75d91f7c666e3f04ab6e762564ebbb9e1c142
nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted

When a command has been aborted we should return NVME_SC_HOST_ABORTED_CMD
to be consistent with the other transports.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fc.c