aboutsummaryrefslogtreecommitdiff
path: root/cache.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-08-13 21:17:11 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-08-13 21:17:11 +0000
commit28495b3bb29df1ae87967f208d008182a794f37e (patch)
treeb8e00b5e77fbc9c68b8e0ff18e37809df9997e75 /cache.c
parent61a154807b607b4b5f70b973004b4b1dd4e286c6 (diff)
downloadsshfs-28495b3bb29df1ae87967f208d008182a794f37e.tar
sshfs-28495b3bb29df1ae87967f208d008182a794f37e.tar.gz
sshfs-28495b3bb29df1ae87967f208d008182a794f37e.tar.bz2
sshfs-28495b3bb29df1ae87967f208d008182a794f37e.zip
reconnection
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;