aboutsummaryrefslogtreecommitdiff
path: root/bin/gensquashfs/test/testdir/dirb/file_b2
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-04-28 15:58:03 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-04-29 00:26:32 +0200
commit935d4186952e4e4f544ddb20d8f7e4c2657ecb63 (patch)
treeffb2e99112bf44236a72a1286f76c54388c37baa /bin/gensquashfs/test/testdir/dirb/file_b2
parent725949af79cbbf359e90c93e88bf184c6114a502 (diff)
gensquashfs: Remove flag handling from scan_dir
The logic was previously there to allow recursing into directories that exist in the fstree and the scanned directory, but not create new directories. Because the dir_tree_iterator_t supports reporting contents but not directories (and does DFS), we can simply check if the parent of the directory exists. Under normal DFS, it must exist, because we created it earlier. If we are skipping the directory entries, it only exists if it was there earlier and we can skip entries that have a non-existant parent, retainint the old behavior. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/gensquashfs/test/testdir/dirb/file_b2')
0 files changed, 0 insertions, 0 deletions