saquery.c: Fix saquery -D option
PATCH 1/1 saquery.c: Fix saquery -D option
From: Vladimir Koushnir <vladimirk-VPRAkNaXOzVWk0Htik3J/[email protected]>
Date: Wed, 9 Sep 2015 14:29:38 +0300
-D and -list saquery options are operational only when -N option is explicitly invoked (default option)
This patch allows using -D or --list options when no other option is invoked.
--- src/saquery.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
src/saquery.c +1 -0
@@ -1591,6 +1591,7 @@ static int process_opt(void *context, int ch, char *optarg)break ;case 'D' : node_print_desc =ALL_DESC ; + command =SAQUERY_CMD_NODE_RECORD ;break ;case 'c' : command =SAQUERY_CMD_CLASS_PORT_INFO ;
Signature · 6 lines
1.7.8.2 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 55F18125.2090406-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
ira.weiny
AppliedQuoted 11 lines · Hal Rosenstock
From: Vladimir Koushnir <vladimirk-VPRAkNaXOzVWk0Htik3J/[email protected]>
Date: Wed, 9 Sep 2015 14:29:38 +0300-D and -list saquery options are operational only when -N option is explicitly invoked (default option)
This patch allows using -D or --list options when no other option is invoked.
Thanks applied,
Ira
Quoted 19 lines
--- src/saquery.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)src/saquery.c +1
-0@@ -1591,6 +1591,7 @@ static int process_opt(void *context, int ch, char *optarg)break ;case 'D' : node_print_desc =ALL_DESC ; + command =SAQUERY_CMD_NODE_RECORD ;break ;case 'c' : command =SAQUERY_CMD_CLASS_PORT_INFO ;Signature · 1 line
1.7.8.2
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html