Merge lp://staging/~jderose/filestore/lost+found into lp://staging/filestore
Proposed by
Jason Gerard DeRose
Status: | Merged |
---|---|
Merged at revision: | 222 |
Proposed branch: | lp://staging/~jderose/filestore/lost+found |
Merge into: | lp://staging/filestore |
Diff against target: |
22 lines (+5/-0) 1 file modified
filestore.py (+5/-0) |
To merge this branch: | bzr merge lp://staging/~jderose/filestore/lost+found |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
dmedia Dev | Pending | ||
Review via email: mp+78749@code.staging.launchpad.net |
Description of the change
This changes iter_files() to no longer descend into the "lost+found" directory on ext4/ext3/ext2 filesystems. So that a normal "lost+found" directory isn't skipped by mistake, the criteria is quite strict.
Tiny change, but unfortunately rather impossible to write unit tests for (as we need specific a *filesystem* in a known state).
However, I will add a test for this to our long running test hardness once it's ready.
To post a comment you must log in.