summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Siegl <stesie@brokenpipe.de>2006-08-03 22:50:38 +0000
committerStefan Siegl <stesie@brokenpipe.de>2006-08-03 22:50:38 +0000
commitf7f3136a35212fa7a346bf65867639bfbfd5eaec (patch)
tree61eb5aca5e940780b6f331b5c8ff502f3f826cee
parentfd9ac13b5e13cc9055759fdd8e95319dffc3c46a (diff)
added fuse_exit and fuse_exited stubs, actually we don't support them, therefore EIEIO out in case they're called
-rw-r--r--src/main.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 552a2b74c..ed61db41e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -507,3 +507,25 @@ fuse_loop_mt(struct fuse *f)
return fuse_loop_mt_proc(f, (fuse_processor_t) fuse_process_cmd, NULL);
}
+
+
+void
+fuse_exit(struct fuse *f)
+{
+ /*
+ * well, we should make fuse_main exit, this is, we would have to
+ * cancel ports_manage_port_operations_one_thread. however this is
+ * not possible, therefore buy the farm for the moment.
+ */
+ error(1, EIEIO, "fuse_exit called");
+}
+
+
+int
+fuse_exited(struct fuse *f)
+{
+ /*
+ * if fuse_exit is called, we buy the farm, therefore we still must be alive.
+ */
+ return 0;
+}