diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2012-07-19 19:02:42 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2012-07-19 19:02:42 +0200 |
commit | cc1a1f4eddc4613a7549533e518e3c5e342db6e4 (patch) | |
tree | 0890ddd43c36166a07831cdd35309f6bb20d7fc7 /lib/mount.c | |
parent | 966d97b1f816a6092e90f3249fbddf861217b636 (diff) | |
download | libfuse-cc1a1f4eddc4613a7549533e518e3c5e342db6e4.tar.gz |
Remove compat functions
Diffstat (limited to 'lib/mount.c')
-rw-r--r-- | lib/mount.c | 15 |
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) { |