Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
nvme-cli.27116
0001-fabrics-Already-connected-uses-a-different...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-fabrics-Already-connected-uses-a-different-error-cod.patch of Package nvme-cli.27116
From: Daniel Wagner <dwagner@suse.de> Date: Thu, 2 Jun 2022 15:26:11 +0200 Subject: fabrics: Already connected uses a different error code Git-commit: f16dd95735772d373c8fe716bbe4d9b8859262f4 References: bsc#1199994 The libnvme library reports connection errors with it's own error codes, e.g. ENVME_CONNECT_ALREADY stands for already connected. Update the connect-all call so that it prints 'already connected' again. Signed-off-by: Daniel Wagner <dwagner@suse.de> --- fabrics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fabrics.c +++ b/fabrics.c @@ -401,7 +401,7 @@ static int __discover(nvme_ctrl_t c, str nvme_disconnect_ctrl(child); nvme_free_ctrl(child); } - } else if (errno == EALREADY && !quiet) { + } else if (errno == ENVME_CONNECT_ALREADY && !quiet) { char *traddr = log->entries[i].traddr; space_strip_len(NVMF_TRADDR_SIZE, traddr);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor