diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-28 15:58:03 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-04-29 00:26:32 +0200 |
commit | 935d4186952e4e4f544ddb20d8f7e4c2657ecb63 (patch) | |
tree | ffb2e99112bf44236a72a1286f76c54388c37baa /lib/util/test/base64_decode.c | |
parent | 725949af79cbbf359e90c93e88bf184c6114a502 (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 'lib/util/test/base64_decode.c')
0 files changed, 0 insertions, 0 deletions