diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-09-15 18:02:50 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-09-15 21:48:47 +0200 |
commit | 69ac85c09dac74f9691b2ed340438e9648516c9f (patch) | |
tree | cec97b1d112f29460739563096c3740a8f2cf648 /lib/xfrm/test/pack.c | |
parent | 0b3f650fa4eb0dcce2258c7bb8974a1304468a05 (diff) |
libsqfs: externalize the dir reader state
Instead of holding the state internally, move it outside and let the
user pass it in. This allows processing multiple directories and going
back and forth between them, while also simplifying the dir reader
internals.
The sqfs_dir_reader_get_inode function can also be made more generic
to accept a reference instead of being fully state dependent.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/xfrm/test/pack.c')
0 files changed, 0 insertions, 0 deletions