From 8b3a0c74a15e237eb4b7053774600f0ce3fff403 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 26 Jan 2010 18:20:13 +0000 Subject: * 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 --- lib/mount_util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/mount_util.h') 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); -- cgit v1.2.3