commit | 564adb0a852b38a1790db20516862fc31bca314d | [log] [tgz] |
---|---|---|
author | Gao Xiang <hsiangkao@linux.alibaba.com> | Thu Dec 16 09:24:35 2021 +0800 |
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | Sat Dec 18 09:38:53 2021 +0800 |
tree | 8b7fe1d26fc14a8c23fbcf6a774cda9a7bf49b93 | |
parent | 097410dbfd1e62122a982dcb3011700c4e9a6e64 [diff] |
erofs-utils: lib: add API to iterate dirs in EROFS This introduces erofs_iterate_dir() to iterate all dirents in a directory inode and convert erofsfuse to use the API. Note that it doesn't recursively walk into sub-directories. If it's really needed, users should handle this in the callback. Link: https://lore.kernel.org/r/20211216012436.10111-1-xiang@kernel.org Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>