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

typo in cfs_hash_for_each_relax()

    XMLWordPrintable

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

            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: