aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mount.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2012-07-19 19:02:42 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2012-07-19 19:02:42 +0200
commitcc1a1f4eddc4613a7549533e518e3c5e342db6e4 (patch)
tree0890ddd43c36166a07831cdd35309f6bb20d7fc7 /lib/mount.c
parent966d97b1f816a6092e90f3249fbddf861217b636 (diff)
downloadlibfuse-cc1a1f4eddc4613a7549533e518e3c5e342db6e4.tar.gz
Remove compat functions
Diffstat (limited to 'lib/mount.c')
-rw-r--r--lib/mount.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/mount.c b/lib/mount.c
index 125a0df..6182a17 100644
--- a/lib/mount.c
+++ b/lib/mount.c
@@ -10,7 +10,6 @@
#include "fuse_i.h"
#include "fuse_misc.h"
#include "fuse_opt.h"
-#include "fuse_common_compat.h"
#include "mount_util.h"
#include <stdio.h>
@@ -333,11 +332,6 @@ void fuse_kern_unmount(const char *mountpoint, int fd)
waitpid(pid, NULL, 0);
}
-void fuse_unmount_compat22(const char *mountpoint)
-{
- fuse_kern_unmount(mountpoint, -1);
-}
-
static int fuse_mount_fusermount(const char *mountpoint, struct mount_opts *mo,
const char *opts, int quiet)
{
@@ -408,15 +402,6 @@ static int fuse_mount_fusermount(const char *mountpoint, struct mount_opts *mo,
return rv;
}
-int fuse_mount_compat22(const char *mountpoint, const char *opts)
-{
- struct mount_opts mo;
- memset(&mo, 0, sizeof(mo));
- mo.flags = MS_NOSUID | MS_NODEV;
-
- return fuse_mount_fusermount(mountpoint, &mo, opts, 0);
-}
-
static int fuse_mount_sys(const char *mnt, struct mount_opts *mo,
const char *mnt_opts)
{