From 28495b3bb29df1ae87967f208d008182a794f37e Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Sat, 13 Aug 2005 21:17:11 +0000 Subject: reconnection --- cache.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cache.c') 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; -- cgit v1.2.3