diff options
author | farlongsignal <141166749+farlongsignal@users.noreply.github.com> | 2024-03-24 21:54:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-24 21:54:19 +0100 |
commit | dd95d13aaca940a310628f31bfcdd2deb38ad377 (patch) | |
tree | 9981af9e654c5209a5f3ec6dc34c165b13bdb48a /include/fuse_common.h | |
parent | f01d9277cb6faface1d8b048db4eddb71b2f5d78 (diff) | |
download | libfuse-dd95d13aaca940a310628f31bfcdd2deb38ad377.tar.gz |
fix readdirplus when filler is called with zero offset (#896)
fixes #235
In fill_dir_plus(), there's a lookup for caching dirent attributes.
However, when offset = 0 the cache metadata from the lookup is lost
as only the entry attributes are passed when added to the list. Kernel
doesn't cache the attributes since .ino = 0.
This change moves the entry lookup to happen just before the relevant
fuse_add_direntry_plus() calls
Diffstat (limited to 'include/fuse_common.h')
0 files changed, 0 insertions, 0 deletions