Details

    • 3
    • 9223372036854775807

    Description

      It contains this lovely code:

                              if (sz == 0 || strncmp(buf, dst, sz) != 0) {
                                      if (unlink(src) && errno != ENOENT) {
                                              CT_ERROR(errno,
                                                       "cannot unlink symlink '%s'",
                                                       src);
                                              rcf = rcf ? rcf : -errno;
                                              goto fini_minor;
                                      /* unlink old symlink done */
                                      CT_TRACE("remove old symlink '%s' pointing"
                                               " to '%s'", src, buf);
                                      }
      

      Clearly we want the closing bracket after the goto, so the TRACE could be printed.

      Attachments

        Activity

          [LU-10764] Incorrect code in ct_archive

          John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31667/
          Subject: LU-10764 hsm: Correct debug print in ct_archive
          Project: fs/lustre-release
          Branch: b2_10
          Current Patch Set:
          Commit: 70f53ec333f0f1d24fbc5b7ace691ceb66ba8506

          gerrit Gerrit Updater added a comment - John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/31667/ Subject: LU-10764 hsm: Correct debug print in ct_archive Project: fs/lustre-release Branch: b2_10 Current Patch Set: Commit: 70f53ec333f0f1d24fbc5b7ace691ceb66ba8506

          Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31667
          Subject: LU-10764 hsm: Correct debug print in ct_archive
          Project: fs/lustre-release
          Branch: b2_10
          Current Patch Set: 1
          Commit: 9d8b3a70f0dcfb6f91064b7a8f2de4791e779a5d

          gerrit Gerrit Updater added a comment - Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/31667 Subject: LU-10764 hsm: Correct debug print in ct_archive Project: fs/lustre-release Branch: b2_10 Current Patch Set: 1 Commit: 9d8b3a70f0dcfb6f91064b7a8f2de4791e779a5d
          pjones Peter Jones added a comment -

          Landed for 2.11

          pjones Peter Jones added a comment - Landed for 2.11

          Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31509/
          Subject: LU-10764 hsm: Correct debug print in ct_archive
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: debba58308fd4c493fcde22094b4aa49b03988c1

          gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/31509/ Subject: LU-10764 hsm: Correct debug print in ct_archive Project: fs/lustre-release Branch: master Current Patch Set: Commit: debba58308fd4c493fcde22094b4aa49b03988c1
          green Oleg Drokin added a comment - proposed patch in https://review.whamcloud.com/31509

          People

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

            Dates

              Created:
              Updated:
              Resolved: