[git commit nptl] sys/mount.h: sync with latest glibc

Mike Frysinger vapier at gentoo.org
Fri Sep 18 14:07:31 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=a8e5fb176799e020749f8feda11282bf5ff703c2
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

Newer glibc adds a few more MNT_* flags, so import them.

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 include/sys/mount.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/include/sys/mount.h b/include/sys/mount.h
index b305549..57d440f 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
 };
 
 
-- 
1.6.3.3



More information about the uClibc-cvs mailing list