diff options
author | Amir Goldstein <amir73il@gmail.com> | 2025-01-02 21:14:01 +0100 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-01-03 22:04:30 +0100 |
commit | 8d34e367f76cb5d28671dd992e6a568b53845b3a (patch) | |
tree | 22a5a55e62c5952627f68acb7341e3656b273acc /lib/compat.c | |
parent | 52d4791e83852b485a3b22ab99f22cc37073aa70 (diff) | |
download | libfuse-8d34e367f76cb5d28671dd992e6a568b53845b3a.tar.gz |
Fix junk readdirplus results when filesystem not filling stat info
Commit dd95d13a ("fix readdirplus when filler is called with zero offset
(#896)) broke readdirplus with passthrough example command:
passthrough -o auto_cache,modules=subdir,subdir=/src /mnt
The /src directory looks like this:
~# ls -l /src
total 0
drwx------ 3 root root 60 Jan 2 17:51 testdir
And the fuse directory looks like this:
~# ls -l /mnt
total 0
d--------- 0 root root 0 Jan 1 1970 testdir
Because readdir_fill_from_list() ignores the fact that filesystem
did not pass the FUSE_FILL_DIR_PLUS flag with valid stat info.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'lib/compat.c')
0 files changed, 0 insertions, 0 deletions