Whamcloud - gitweb
LU-6929 libcfs: typo in cfs_hash_for_each_relax()
[fs/lustre-release.git] / libcfs / libcfs / hash.c
index 44bfaf4..36bdf08 100644 (file)
@@ -1653,7 +1653,7 @@ again:
                        break;
         }
 
-       if (start > 0 && rc != 0) {
+       if (start > 0 && rc == 0) {
                end = start;
                start = 0;
                goto again;