diff options
author | James Smart <jsmart2021@gmail.com> | 2017-09-08 01:27:28 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-09-25 16:56:05 +0200 |
commit | fc9608e8b4dc3c2545fa0bc5d3eef158ca56ccf8 (patch) | |
tree | 603fbc776ee2a80f417fe8c024a9363b70e9ea30 | |
parent | nvmet-fc: remove use of FC-specific error codes (diff) | |
download | linux-fc9608e8b4dc3c2545fa0bc5d3eef158ca56ccf8.tar.xz linux-fc9608e8b4dc3c2545fa0bc5d3eef158ca56ccf8.zip |
nvmet-fcloop: remove use of FC-specific error codes
The FC-NVME transport loopback test module used the FC-specific error
codes in cases where it emulated a transport abort case. Instead of
using the FC-specific values, now use a generic value (NVME_SC_INTERNAL).
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | drivers/nvme/target/fcloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/target/fcloop.c b/drivers/nvme/target/fcloop.c index 1cb9847ec261..1fd1afbb8b2a 100644 --- a/drivers/nvme/target/fcloop.c +++ b/drivers/nvme/target/fcloop.c @@ -576,7 +576,7 @@ fcloop_tgt_fcp_abort(struct nvmet_fc_target_port *tgtport, tfcp_req->aborted = true; spin_unlock(&tfcp_req->reqlock); - tfcp_req->status = NVME_SC_FC_TRANSPORT_ABORTED; + tfcp_req->status = NVME_SC_INTERNAL; /* * nothing more to do. If io wasn't active, the transport should |