[LU-11311] LNet: cleanup error handling in liblnetconfig.c Created: 31/Aug/18  Updated: 21/Jan/22

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Amir Shehata (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Some error paths in the liblnetconfig.c code result in a 0 error code even though there was an actual error. That error gets added in the YAML error block and can be confusing to the user. We should look at all the calls to : cYAML_build_error(rc, seq_no, ADD_CMD, "peer_ni", err_str, err_rc); and make sure in the error case rc is being assigned properly.


Generated at Sat Feb 10 02:42:47 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.