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

Suspect locking cleanup in mdt_reint_migrate_internal()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Minor
    • Lustre 2.11.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In mdt_reint_migrate_internal():

              rc = mdt_reint_object_lock(info, mold, lh_childp, lock_ibits, true);
              if (rc != 0)
                      GOTO(out_unlock_child, rc);
      ...
      out_unlock_child:
              mdt_object_unlock(info, mold, lh_childp, rc);
      out_unlock_list:
      ...
      

      I guess the GOTO should be to out_unlock_list on failure?

      Attachments

        Activity

          People

            laisiyao Lai Siyao
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: