about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-04-24 03:18:52 +0000
committerUlrich Drepper <drepper@redhat.com>2009-04-24 03:18:52 +0000
commit95bf537fc79edec18abd3c8a236fb84ab589cfcd (patch)
tree9d1a68aa3361844698ba639c883d66e6726e1409 /sysdeps/unix/sysv/linux/sys
parent7f8a28efb5c9bf19d3a31a7f356cc171f333ceef (diff)
downloadglibc-95bf537fc79edec18abd3c8a236fb84ab589cfcd.tar.gz
glibc-95bf537fc79edec18abd3c8a236fb84ab589cfcd.tar.xz
glibc-95bf537fc79edec18abd3c8a236fb84ab589cfcd.zip
[BZ #10092]
2009-04-23  Aurelien Jarno  <aurelien@aurel32.net>
	[BZ #10092]
	* sysdeps/unix/sysv/linux/sys/mount.h: Define MNT_DETACH and
	MNT_EXPIRE.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys')
-rw-r--r--sysdeps/unix/sysv/linux/sys/mount.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/mount.h b/sysdeps/unix/sysv/linux/sys/mount.h
index b30554987a..57d440f273 100644
--- a/sysdeps/unix/sysv/linux/sys/mount.h
+++ b/sysdeps/unix/sysv/linux/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
 };