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

Incorrect return value in mdt_reint_unlink

    XMLWordPrintable

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: