Whamcloud - gitweb
LU-17414 lnet: Use POSIX error number for libnetconfig 57/53657/3
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Thu, 11 Jan 2024 09:35:02 +0000 (15:05 +0530)
committerOleg Drokin <green@whamcloud.com>
Sun, 4 Feb 2024 08:31:41 +0000 (08:31 +0000)
commit6c3a2841a77c2f11fd424b0b949d0c77a1ee4026
treeacc79ad91d1a57949c1c369c72c784f37c1ca453
parentecac0c175d934fd5624c9ad8db8f45dbc33fb56c
LU-17414 lnet: Use POSIX error number for libnetconfig

Currently liblnetconfig.c is returning custom define
LUSTRE_CFG_RC_* numbers which can be confusing to users.
This patch redefines LUSTRE_CFG_RC_* to use POSIX
error number to be consistent.

Test-Parameters: trivial testlist=sanity-lnet
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I585d1dfd80d07160e5cdeef784920414132bcaf8
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53657
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/utils/lnetconfig/liblnetconfig.h
lnet/utils/lnetctl.c