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

check result of dt_trans_create() using IS_ERR()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Lustre 2.4.0
    • Fix Version/s: Lustre 2.4.0
    • Labels:
    • Severity:
      3
    • Rank (Obsolete):
      7823

      Description

      Several calls to dt_trans_create() or its wrappers are not checking for error. Some functions may pass err ptrs to dt_trans_stop(). In local_oid_storage_init() the error path following failure in dt_trans_create() is incorrect.

        Attachments

          Activity

            People

            • Assignee:
              jhammond John Hammond
              Reporter:
              jhammond John Hammond
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: