nvme-fabrics: decode 'authentication required' connect error
authorHannes Reinecke <hare@suse.de>
Mon, 27 Jun 2022 09:52:01 +0000 (11:52 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 6 Jul 2022 16:14:25 +0000 (18:14 +0200)
commitb3107f1658bcb7759802d406dc9c07fe8d1b6349
treea99789adcd074b2f7c0f73e04dd93ac601a515d4
parenta0516233e6b3f04622cb1014f25fa9b08763d2a9
nvme-fabrics: decode 'authentication required' connect error

The 'connect' command might fail with NVME_SC_AUTH_REQUIRED, so we
should be decoding this error, too.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fabrics.c