projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38c9475
)
Fix build with IGNORE_MTAB (#425)
author
Michael Forney
<mforney@mforney.org>
Sat, 15 Jun 2019 10:16:45 +0000
(
03:16
-0700)
committer
Nikolaus Rath
<Nikolaus@rath.org>
Sat, 15 Jun 2019 10:16:45 +0000
(11:16 +0100)
chdir_to_parent and check_is_mount are used by should_auto_mount, added
in fuse-3.3.0, regardless of whether IGNORE_MTAB is defined.
util/fusermount.c
patch
|
blob
|
history
diff --git
a/util/fusermount.c
b/util/fusermount.c
index 5e0b104acf868d33354808395e238fe8da3093c3..56da6ec4588b7cc57bf2978370f07878a9809945 100644
(file)
--- a/
util/fusermount.c
+++ b/
util/fusermount.c
@@
-208,6
+208,7
@@
static int may_unmount(const char *mnt, int quiet)
return 0;
}
+#endif
/*
* Check whether the file specified in "fusermount3 -u" is really a
@@
-395,6
+396,7
@@
static int chdir_to_parent(char *copy, const char **lastp)
return 0;
}
+#ifndef IGNORE_MTAB
/* Check whether the kernel supports UMOUNT_NOFOLLOW flag */
static int umount_nofollow_support(void)
{