[LU-6929] typo in cfs_hash_for_each_relax() Created: 31/Jul/15 Updated: 19/Mar/19 Resolved: 18/Aug/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Niu Yawei (Inactive) | Assignee: | Niu Yawei (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 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. |
| Comments |
| Comment by Gerrit Updater [ 31/Jul/15 ] |
|
Niu Yawei (yawei.niu@intel.com) uploaded a new patch: http://review.whamcloud.com/15813 |
| Comment by Andreas Dilger [ 08/Aug/15 ] |
|
Introduced in http://review.whamcloud.com/14931 |
| Comment by Gerrit Updater [ 18/Aug/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/15813/ |
| Comment by Peter Jones [ 18/Aug/15 ] |
|
Landed for 2.8 |