commit | b0ef1b11d3909d8f246dd3af9c94e38880d349b0 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Tue Dec 13 20:00:26 2022 +0100 |
committer | Christoph Hellwig <hch@lst.de> | Wed Feb 01 14:21:58 2023 +0100 |
tree | 7cf575b229aed92af9c634e04c5356e40390d506 | |
parent | 0686fb3cc535c4c1685553c56f4efe3eeee57b09 [diff] |
nvme-auth: don't use NVMe status codes NVMe status codes are part of the wire protocol, and shouldn't be fabricated in the stack. So with this patch the authentication code is switched over to use error codes; as a side effect authentication failures due to internal error won't be retried anymore. But that shouldn't have happened anyway. Signed-off-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>