summaryrefslogtreecommitdiff
path: root/src/netnode.c
diff options
context:
space:
mode:
authorStefan Siegl <stesie@brokenpipe.de>2006-04-13 22:52:47 +0000
committerStefan Siegl <stesie@brokenpipe.de>2006-04-13 22:52:47 +0000
commit5147e9e1b0e63b00b4fb7a04720da591a5f6c024 (patch)
treeadc11c0bff93d1fe5eb2bccc467ee044886fc1af /src/netnode.c
parentc2552b393a785f7ba9872215695ff3a22cbdfd5f (diff)
pulled in headers from fuse 2.5.3 and added examples. fuse_ops variable renamed to fuse_ops_compat22 (to make room for 2.5 api functions).
Diffstat (limited to 'src/netnode.c')
-rw-r--r--src/netnode.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/netnode.c b/src/netnode.c
index 9727097c1..dc9055262 100644
--- a/src/netnode.c
+++ b/src/netnode.c
@@ -152,9 +152,10 @@ fuse_sync_filesystem(void)
{
if(he->nn->may_need_sync)
{
- err = -(fuse_ops ?
- fuse_ops->fsync(he->nn->path, 0, &he->nn->info) :
- fuse_ops_compat->fsync(he->nn->path, 0));
+ err = -(fuse_ops_compat22 ?
+ fuse_ops_compat22->fsync(he->nn->path, 0,
+ &he->nn->info.compat22) :
+ fuse_ops_compat2->fsync(he->nn->path, 0));
if(err)
goto out;