diff options
author | Benjamin Fleischer <fleiben@gmail.com> | 2017-07-07 20:10:53 +0200 |
---|---|---|
committer | Benjamin Fleischer <fleiben@gmail.com> | 2017-07-07 20:10:53 +0200 |
commit | eb1b7b1b6f742baac5ef8218d8a9471fd6a17c3c (patch) | |
tree | 8b42fefc0edd5c133388d6e41f3a9fc5f87deabd /cache.c | |
parent | 8589b149fdcb2ff4698da8ed5e1fd6fb00dde381 (diff) | |
parent | 1dbda317865c49825de733e210fc6119d3ee1576 (diff) | |
download | sshfs-eb1b7b1b6f742baac5ef8218d8a9471fd6a17c3c.tar sshfs-eb1b7b1b6f742baac5ef8218d8a9471fd6a17c3c.tar.gz sshfs-eb1b7b1b6f742baac5ef8218d8a9471fd6a17c3c.tar.bz2 sshfs-eb1b7b1b6f742baac5ef8218d8a9471fd6a17c3c.zip |
Merge tag 'sshfs-2.9'
Tagged release
Diffstat (limited to 'cache.c')
-rw-r--r-- | cache.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -523,6 +523,10 @@ static void cache_unity_fill(struct fuse_cache_operations *oper, cache_oper->ftruncate = oper->oper.ftruncate; cache_oper->fgetattr = oper->oper.fgetattr; #endif +#if FUSE_VERSION >= 29 + cache_oper->flag_nullpath_ok = oper->oper.flag_nullpath_ok; + cache_oper->flag_nopath = oper->oper.flag_nopath; +#endif } static void cache_fill(struct fuse_cache_operations *oper, @@ -548,6 +552,10 @@ static void cache_fill(struct fuse_cache_operations *oper, cache_oper->ftruncate = oper->oper.ftruncate ? cache_ftruncate : NULL; cache_oper->fgetattr = oper->oper.fgetattr ? cache_fgetattr : NULL; #endif +#if FUSE_VERSION >= 29 + cache_oper->flag_nullpath_ok = 0; + cache_oper->flag_nopath = 0; +#endif } |