Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.8.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      This is introduced in: fe60e0135ee2334440247cde167b707b223cf11d

      +       if (start > 0 && rc != 0) {
      +               end = start;
      +               start = 0;
      +               goto again;
      +       }
      

      I think it should be "if (start > 0 && rc == 0)", rc != 0 means caller want break the iteration.

      Attachments

        Issue Links

          Activity

            [LU-6929] typo in cfs_hash_for_each_relax()
            pjones Peter Jones added a comment -

            Landed for 2.8

            pjones Peter Jones added a comment - Landed for 2.8

            Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15813/
            Subject: LU-6929 libcfs: typo in cfs_hash_for_each_relax()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: dcf045eb782a0660abf092796f3c316dc72721b8

            gerrit Gerrit Updater added a comment - Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15813/ Subject: LU-6929 libcfs: typo in cfs_hash_for_each_relax() Project: fs/lustre-release Branch: master Current Patch Set: Commit: dcf045eb782a0660abf092796f3c316dc72721b8
            adilger Andreas Dilger added a comment - Introduced in http://review.whamcloud.com/14931

            Niu Yawei (yawei.niu@intel.com) uploaded a new patch: http://review.whamcloud.com/15813
            Subject: LU-6929 libcfs: typo in cfs_hash_for_each_relax()
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: d1eb4612919b3e110603cf026c5c9b4a1b59ae37

            gerrit Gerrit Updater added a comment - Niu Yawei (yawei.niu@intel.com) uploaded a new patch: http://review.whamcloud.com/15813 Subject: LU-6929 libcfs: typo in cfs_hash_for_each_relax() Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: d1eb4612919b3e110603cf026c5c9b4a1b59ae37

            People

              niu Niu Yawei (Inactive)
              niu Niu Yawei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: