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

Incorrect return value in mdt_reint_unlink

Details

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

    Description

      Added by recent landing of https://review.whamcloud.com/31425

              /* We will lock the child regardless it is local or remote. No harm. */
              mc = mdt_object_find(info->mti_env, info->mti_mdt, child_fid);
              if (IS_ERR(mc))
                      GOTO(unlock_parent, rc = PTR_ERR(mc));
      
              if (!cos_incompat) {
                      rc = mdt_object_striped(info, mc);
                      if (rc < 0)
                              GOTO(unlock_parent, rc = PTR_ERR(mc));
      

      this last PTR_ERR should clearly be just "rc".

      Attachments

        Issue Links

          Activity

            [LU-11611] Incorrect return value in mdt_reint_unlink
            pjones Peter Jones added a comment -

            Landed for 2.12

            pjones Peter Jones added a comment - Landed for 2.12

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33577/
            Subject: LU-11611 mdt: incorrect return value in mdt_reint_unlink
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 03f077a5dbcd9c4096c6f6ff1bf12b8f39a16603

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33577/ Subject: LU-11611 mdt: incorrect return value in mdt_reint_unlink Project: fs/lustre-release Branch: master Current Patch Set: Commit: 03f077a5dbcd9c4096c6f6ff1bf12b8f39a16603

            Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33577
            Subject: LU-11611 mdt: incorrect return value in mdt_reint_unlink
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 43fdc8e75d12a2fe461913f4310cefa4b842ded2

            gerrit Gerrit Updater added a comment - Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33577 Subject: LU-11611 mdt: incorrect return value in mdt_reint_unlink Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 43fdc8e75d12a2fe461913f4310cefa4b842ded2
            laisiyao Lai Siyao added a comment -

            I'll give a fix soon.

            laisiyao Lai Siyao added a comment - I'll give a fix soon.
            pjones Peter Jones added a comment -

            Lai

             

            Could you please investigate?

             

            Thanks

             

            Peter

            pjones Peter Jones added a comment - Lai   Could you please investigate?   Thanks   Peter

            People

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

              Dates

                Created:
                Updated:
                Resolved: