Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15
nvme-cli.11415
0042-nvme-cli-fix-fc-trtype-string.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0042-nvme-cli-fix-fc-trtype-string.patch of Package nvme-cli.11415
From 390c5cfbdff577e84b2e91811385f073ff27da71 Mon Sep 17 00:00:00 2001 From: James Smart <jsmart2021@gmail.com> Date: Mon, 4 Feb 2019 13:39:54 -0800 Subject: [PATCH] nvme-cli: fix fc trtype string Git-commit: 324fce3d6adacdd0aad37e3b1962ab59f601050e References: bsc#1126565 Commit 55b4ec12ffe4 ("fabrics: use trtype_str when parsing a discovery log entry") changed to use the trtypes string names in a generic fashion for the "transport=?" string passed in the connect string to the kernel. For FC, this meant the hardcoding of "transport=fc" was removed and the generic code would now create "transport=fibre-channel", which doesn't match any transport name anymore once the string is attempted to be matched in the kernel. Change the string used by for trtype for FC to use "fc" to restore operation. Signed-off-by: James Smart <jsmart2021@gmail.com> --- fabrics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabrics.c b/fabrics.c index fc0dde5..f7191d1 100644 --- a/fabrics.c +++ b/fabrics.c @@ -95,7 +95,7 @@ static const char *arg_str(const char * const *strings, static const char * const trtypes[] = { [NVMF_TRTYPE_RDMA] = "rdma", - [NVMF_TRTYPE_FC] = "fibre-channel", + [NVMF_TRTYPE_FC] = "fc", [NVMF_TRTYPE_LOOP] = "loop", }; -- 2.16.4
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