]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fc: set NVME_REQ_CANCELLED in nvme_fc_terminate_exchange()
authorHannes Reinecke <hare@suse.de>
Fri, 26 Feb 2021 07:17:27 +0000 (08:17 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 11 Mar 2021 10:48:34 +0000 (11:48 +0100)
commit61b75d91f7c666e3f04ab6e762564ebbb9e1c142
tree5174d53d11857dafd1a31674d96872c9c32a7120
parent4f43b1eaf53880a1ebeba5eef93cc066ae2e3a52
nvme-fc: set NVME_REQ_CANCELLED in nvme_fc_terminate_exchange()

nvme_fc_terminate_exchange() is being called when exchanges are
being deleted, and as such we should be setting the NVME_REQ_CANCELLED
flag to have identical behaviour on all transports.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
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