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

use llapi_error() for errors in liblustreapi files

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • Lustre 2.12.0
    • 9223372036854775807

    Description

      Change calls to printf(...) and fprintf(stderr, ...) to use llapi_printf() and llapi_error() so that it is possible to override these calls when liblustreapi is linked into some other application.

      The usage of fprintf(fd, ...) in llapi_json_write_list() should not be changed.

      Attachments

        Activity

          [LU-11606] use llapi_error() for errors in liblustreapi files
          pjones Peter Jones made changes -
          Fix Version/s New: Lustre 2.13.0 [ 14290 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          arshad512 Arshad Hussain made changes -
          Assignee Original: WC Triage [ wc-triage ] New: Arshad Hussain [ arshad512 ]
          adilger Andreas Dilger created issue -

          People

            arshad512 Arshad Hussain
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: