aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindfs.c
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2025-04-10 22:53:40 +0300
committerMartin Pärtel <martin.partel@gmail.com>2025-04-10 22:53:40 +0300
commitf1b6432e1226be1563d5e631ccfa044b74a30b5b (patch)
tree2cca365a6a05676691ccce4a77977b04c66d4ccc /src/bindfs.c
parentf32f54e43c8813013a30c12118eeb69f8ac8e5e4 (diff)
downloadbindfs-f1b6432e1226be1563d5e631ccfa044b74a30b5b.tar.gz
FUSE_FILL_DIR_DEFAULTS is not defined with older Fuse headers.
Diffstat (limited to 'src/bindfs.c')
-rw-r--r--src/bindfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindfs.c b/src/bindfs.c
index ed68c53..08defc6 100644
--- a/src/bindfs.c
+++ b/src/bindfs.c
@@ -837,7 +837,7 @@ static int bindfs_readdir(const char *path, void *buf, fuse_fill_dir_t filler,
(void)fi;
#ifdef HAVE_FUSE_3
bool readdirplus = (flags & FUSE_READDIR_PLUS) == FUSE_READDIR_PLUS;
- enum fuse_fill_dir_flags fill_dir_flags = readdirplus ? FUSE_FILL_DIR_PLUS : FUSE_FILL_DIR_DEFAULTS;
+ enum fuse_fill_dir_flags fill_dir_flags = readdirplus ? FUSE_FILL_DIR_PLUS : 0;
#else
bool readdirplus = false;
#endif