summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpooka <pooka@NetBSD.org>2007-02-19 23:12:29 +0000
committerpooka <pooka@NetBSD.org>2007-02-19 23:12:29 +0000
commit838ac147aa7c71c3e660776edc17fb91ef7fa445 (patch)
tree8f9704382343e09212fb9956a5c7e5edc336485c /lib
parenta030fa3a9b47632b9bb8d46b37c1657d6e062f9b (diff)
Implement a very very stubby fuse_unmount(), which does ... nothing.
Pending some puffs changes that are in the queue, this is the best way currently.
Diffstat (limited to 'lib')
-rw-r--r--lib/librefuse/fuse.h1
-rw-r--r--lib/librefuse/refuse.c15
2 files changed, 14 insertions, 2 deletions
diff --git a/lib/librefuse/fuse.h b/lib/librefuse/fuse.h
index 92e33fa00a5..126d1a94a7f 100644
--- a/lib/librefuse/fuse.h
+++ b/lib/librefuse/fuse.h
@@ -168,6 +168,7 @@ int fuse_opt_parse(struct fuse_args *, void *, const struct fuse_opt *, fuse_opt
int fuse_main_real(int, char **, const struct fuse_operations *, size_t, void *);
struct fuse_context *fuse_get_context(void);
void fuse_exit(struct fuse *);
+void fuse_unmount(const char *);
#define fuse_main(argc, argv, op) \
fuse_main_real(argc, argv, op, sizeof(*(op)), NULL)
diff --git a/lib/librefuse/refuse.c b/lib/librefuse/refuse.c
index 7cf0adff302..3763a756570 100644
--- a/lib/librefuse/refuse.c
+++ b/lib/librefuse/refuse.c
@@ -1,4 +1,4 @@
-/* $NetBSD: refuse.c,v 1.28 2007/02/19 22:12:44 pooka Exp $ */
+/* $NetBSD: refuse.c,v 1.29 2007/02/19 23:12:29 pooka Exp $ */
/*
* Copyright © 2007 Alistair Crooks. All rights reserved.
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: refuse.c,v 1.28 2007/02/19 22:12:44 pooka Exp $");
+__RCSID("$NetBSD: refuse.c,v 1.29 2007/02/19 23:12:29 pooka Exp $");
#endif /* !lint */
#include <assert.h>
@@ -1050,3 +1050,14 @@ fuse_exit(struct fuse *f)
puffs_exit(f->pu, 1);
}
+
+/*
+ * XXX: obviously not the most perfect of functions, but needs some
+ * puffs tweaking for a better tomorrow
+ */
+void
+fuse_unmount(const char *mp)
+{
+
+ return;
+}