aboutsummaryrefslogtreecommitdiff
path: root/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'cache.c')
-rw-r--r--cache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cache.c b/cache.c
index 2ccf115..733a451 100644
--- a/cache.c
+++ b/cache.c
@@ -406,6 +406,9 @@ static int cache_write(const char *path, const char *buf, size_t size,
static void cache_unity_fill(struct fuse_cache_operations *oper,
struct fuse_operations *cache_oper)
{
+#if FUSE_VERSION >= 23
+ cache_oper->init = oper->oper.init;
+#endif
cache_oper->getattr = oper->oper.getattr;
cache_oper->readlink = oper->oper.readlink;
cache_oper->getdir = cache_unity_getdir;