Whamcloud - gitweb
LU-18928 lnet: Fix lnetctl peer/net set help option 08/58808/4
authorChris Horn <chris.horn@hpe.com>
Tue, 15 Apr 2025 21:06:08 +0000 (15:06 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 May 2025 02:21:15 +0000 (02:21 +0000)
commit353bf1d2c55fff8eea6ceca1ba11c64fc093a6c6
tree9f1d7ca65b602cc800f8971712cd9c7906d92a3c
parent066ead4d1eecd0e3586582b4866f12b1a1a8f628
LU-18928 lnet: Fix lnetctl peer/net set help option

jt_set_peer/ni_value do not correctly check return value of
check_cmd() function. As a result they report an error when user
specified '-h' option.

Test-Parameters: trivial testlist=sanity-lnet
Fixes: 9b05e87248 ("LU-10391 lnet: support updating LNet local NI settings")
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I7f55208b530a62e0c8bd14f1e50a36dba555f1a6
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58808
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/utils/lnetctl.c