Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-11311

LNet: cleanup error handling in liblnetconfig.c

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 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.

      Attachments

        Activity

          People

            wc-triage WC Triage
            ashehata Amir Shehata (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: