]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect: simplify flags for recurse_dir()
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Nov 2022 10:37:42 +0000 (11:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 9 Nov 2022 10:44:17 +0000 (11:44 +0100)
commita245225e2d3f1193389c7dc35d2da02543fd8ac8
tree7ed9b17bc9af91be5a4a14c93c6cee4c155daec7
parent0f01320ec735946a608440a884dc04837b0d945a
dissect: simplify flags for recurse_dir()

We are not interested in the struct dirent data, hence there's no point
in passing RECURSE_DIR_ENSURE_TYPE. Let's drop it, and thus avoid some
extrac work on file systems where readdir() does not report .d_type.

Also drop RECURSE_DIR_SAME_MOUNT, because DDIs after all may contain
multiple partitions, and we mount them all together. The --list command
really should report the full set of files in an image.
src/dissect/dissect.c