]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nbft: Report proper error codes from discover_from_nbft()
authorTomas Bzatek <tbzatek@redhat.com>
Tue, 3 Dec 2024 16:23:15 +0000 (17:23 +0100)
committerDaniel Wagner <wagi@monom.org>
Thu, 12 Dec 2024 08:50:11 +0000 (09:50 +0100)
commit9354c61c99a7286129d761b415c8717ff3b3b38f
tree2d6c65df9229b14cd714d761858c19b9325ca0d5
parentcbfd1368f4e93d4045524b29e825b65eba827952
nbft: Report proper error codes from discover_from_nbft()

In case of a connection failure of any SSNS records that are not
marked as 'unavailable', report proper error code so that nvme-cli
callers may retry the operation.

The semantics of most functions is to return 0 zero for success
and negative errno numbers in case of an error.

Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
fabrics.c
nbft.c