]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
nvmet-fc: remove use of FC-specific error codes
authorJames Smart <jsmart2021@gmail.com>
Thu, 7 Sep 2017 23:27:27 +0000 (16:27 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Sep 2017 14:56:05 +0000 (08:56 -0600)
commit29b3d26ecc8046838de88205b7c4b182ac27ff65
treecdced2b8cc42c5dc7f91fc6069ca1d06c3234108
parent56b7103a06083b8ce1160f8289460ba2f584e182
nvmet-fc: remove use of FC-specific error codes

The FC-NVME target transport used the FC-specific error codes in
return codes when the transport or lldd failed. 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>
drivers/nvme/target/fc.c