[LU-5955] llapi_semantic_traverse() and lfs find skip any child directory named .lustre Created: 25/Nov/14 Updated: 20/Jan/18 Resolved: 20/Jan/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.11.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | Andreas Dilger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | llapi | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 16633 | ||||||||
| Description |
|
From llapi_semantic_traverse(): while ((dent = readdir64(d)) != NULL) { int rc; param->have_fileinfo = 0; if (!strcmp(dent->d_name, ".") || !strcmp(dent->d_name, "..")) continue; /* Don't traverse .lustre directory */ if (!(strcmp(dent->d_name, dot_lustre_name))) continue; |
| Comments |
| Comment by Andreas Dilger [ 25/Nov/14 ] |
|
The patch http://review.whamcloud.com/11186 " |
| Comment by Andreas Dilger [ 09/Dec/17 ] |
|
The http://review.whamcloud.com/11186 patch has been landed as of 2.5.3-84-g2976f91 so there is no longer a need for this workaround on the client. |
| Comment by Andreas Dilger [ 09/Dec/17 ] |
|
Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/30463 |
| Comment by Gerrit Updater [ 20/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30463/ |
| Comment by Peter Jones [ 20/Jan/18 ] |
|
Landed for 2.11 |