nvme-fabrics: decode 'authentication required' connect error
authorHannes Reinecke <hare@suse.de>
Mon, 27 Jun 2022 09:52:01 +0000 (11:52 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:14:47 +0000 (17:14 -0600)
commit3bf2fde6fcc49ccc899cd2a853888823662ccd4c
tree2f401a5af4d398958026a9ddc7bfe65371fee5b2
parent88b140fec07307f825170a45562013a80842cc93
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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/fabrics.c