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

Mike Frysinger vapier at gentoo.org
Sat Oct 10 16:44:02 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=d895509725173cd17d375050204a0246f690ddb5
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0_9_30

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

Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.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