[BZ #10092]
authorUlrich Drepper <drepper@redhat.com>
Fri, 24 Apr 2009 03:18:52 +0000 (03:18 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 24 Apr 2009 03:18:52 +0000 (03:18 +0000)
2009-04-23  Aurelien Jarno  <aurelien@aurel32.net>
[BZ #10092]
* sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and
MNT_EXPIRE.

ChangeLog
sysdeps/unix/sysv/linux/sys/mount.h

index c3c4804..8f9edfd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-04-23  Aurelien Jarno  <aurelien@aurel32.net>
+
+       [BZ #10092]
+       * sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and
+       MNT_EXPIRE.
+
 2009-04-23  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/unix/sysv/linux/preadv.c: The kernel API changed.  Adjust.
index b305549..57d440f 100644 (file)
@@ -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
 };