diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2010-01-26 18:20:13 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2010-01-26 18:20:13 +0000 |
commit | 8b3a0c74a15e237eb4b7053774600f0ce3fff403 (patch) | |
tree | 9de3b1b3a5110c94449bc794565bd1aedb1e4c86 /lib/mount_util.h | |
parent | d29bc735ad9d10ca2d71e772d432983c8618fb26 (diff) | |
download | libfuse-8b3a0c74a15e237eb4b7053774600f0ce3fff403.tar.gz |
* Fix race if two "fusermount -u" instances are run in parallel.
Reported by Dan Rosenberg
* Make sure that the path to be unmounted doesn't refer to a
symlink
Diffstat (limited to 'lib/mount_util.h')
-rw-r--r-- | lib/mount_util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mount_util.h b/lib/mount_util.h index cf54d9d..f392f99 100644 --- a/lib/mount_util.h +++ b/lib/mount_util.h @@ -10,7 +10,8 @@ int fuse_mnt_add_mount(const char *progname, const char *fsname, const char *mnt, const char *type, const char *opts); -int fuse_mnt_umount(const char *progname, const char *mnt, int lazy); +int fuse_mnt_umount(const char *progname, const char *abs_mnt, + const char *rel_mnt, int lazy); char *fuse_mnt_resolve_path(const char *progname, const char *orig); int fuse_mnt_check_empty(const char *progname, const char *mnt, mode_t rootmode, off_t rootsize); |