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

distribute_txn_commit_batchid_update forgets to check return value of dt_trans_cb_add

Details

    • Bug
    • Resolution: Fixed
    • Major
    • Lustre 2.8.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In distribute_txn_commit_batchid_update:

              rc = dt_trans_start_local(env, tdtd->tdtd_lut->lut_bottom, th);
              if (rc < 0)
                      GOTO(stop, rc);
      
              dt_trans_cb_add(th, &dtbd->dtbd_cb);
              if (rc < 0)
                      GOTO(stop, rc);
      

      Clearly there's an rc assignment missing?

      Attachments

        Activity

          People

            di.wang Di Wang
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: