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
          mdiep Minh Diep made changes -
          Labels Original: LTS
          mdiep Minh Diep made changes -
          Fix Version/s New: Lustre 2.10.4 [ 13691 ]
          pjones Peter Jones made changes -
          Labels New: LTS
          pjones Peter Jones made changes -
          Fix Version/s New: Lustre 2.11.0 [ 13091 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          pjones Peter Jones made changes -
          Assignee Original: WC Triage [ wc-triage ] New: Oleg Drokin [ green ]
          green Oleg Drokin created issue -

          People

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

            Dates

              Created:
              Updated:
              Resolved: