summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fuse_i.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fuse_i.h b/src/fuse_i.h
index 1bc683011..49c4c0639 100644
--- a/src/fuse_i.h
+++ b/src/fuse_i.h
@@ -44,7 +44,10 @@ struct fuse {
extern struct fuse *libfuse_fuse;
#define FUSE_OP_HAVE(a) (libfuse_fuse->op.ops.a != NULL)
-#define FUSE_OP_CALL(a,b...) (libfuse_fuse->op.ops.a(b))
+#define FUSE_OP_CALL(a,b...) ({ \
+ DEBUG("tracing", "FUSE_OP_CALL(%s)\n", #a); \
+ libfuse_fuse->op.ops.a(b); \
+ })
#define NN_INFO(dir) ((void *) &(dir)->nn->info.info25)