summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <toscano.pino@tiscali.it>2013-03-23 17:09:44 +0100
committerPino Toscano <toscano.pino@tiscali.it>2013-03-23 17:09:44 +0100
commitf71d41bcffa800d41120bb038f358fc946126109 (patch)
tree69258c5f116a807e36f096249a54dfbf0b495587
parent762ab7baa27067b82e374a9c53de216ca2cd6116 (diff)
Implement the dummy fuse_invalidate
Even if it is a dummy function which does nothing and always returns -EINVAL (as stated in its documentation), implement it for the benefit of bindings. * src/main.c (fuse_invalidate): New function.
-rw-r--r--src/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 6b8e39d09..39d5f6acb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -583,6 +583,16 @@ fuse_get_context(void)
}
+int
+fuse_invalidate(struct fuse *f, const char *path)
+{
+ (void) f;
+ (void) path;
+
+ return -EINVAL;
+}
+
+
FUSE_SYMVER(".symver fuse_main_real_compat25,fuse_main_real@FUSE_2.5");
FUSE_SYMVER(".symver fuse_new_compat25,fuse_new@FUSE_2.5");
FUSE_SYMVER(".symver fuse_mount_compat25,fuse_mount@FUSE_2.5");