summaryrefslogtreecommitdiff
path: root/include/sys/mount.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-15 18:07:29 -0400
committerMike Frysinger <vapier@gentoo.org>2009-09-15 18:07:29 -0400
commit854c3194a23d43c8e45ad97e3b218bf85dfadc6b (patch)
treec52d1e7995384bb478596b95580f6dcc6eae163f /include/sys/mount.h
parent2b4af5d5bf440711e1b5b8329cb74631e6d65c04 (diff)
sys/mount.h: sync with latest glibc
Newer glibc adds a few more MNT_* flags, so import them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/sys/mount.h')
-rw-r--r--include/sys/mount.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sys/mount.h b/include/sys/mount.h
index b30554987..57d440f27 100644
--- a/include/sys/mount.h
+++ b/include/sys/mount.h
@@ -96,8 +96,12 @@ enum
/* Possible value for FLAGS parameter of `umount2'. */
enum
{
- MNT_FORCE = 1 /* Force unmounting. */
+ MNT_FORCE = 1, /* Force unmounting. */
#define MNT_FORCE MNT_FORCE
+ MNT_DETACH = 2, /* Just detach from the tree. */
+#define MNT_DETACH MNT_DETACH
+ MNT_EXPIRE = 4 /* Mark for expiry. */
+#define MNT_EXPIRE MNT_EXPIRE
};