[prev in list] [next in list] [prev in thread] [next in thread]
List: uclibc
Subject: [PATCH] include/sys/mount.h: define MNT_DETATCH and MNT_EXPIRE
From: natanael.copa () gmail ! com (Natanael Copa)
Date: 2009-09-16 11:24:02
Message-ID: 1253100242-10954-1-git-send-email-natanael.copa () gmail ! com
[Download RAW message or body]
Needed by util-vserver.
This is how glibc does it.
Signed-off-by: Natanael Copa <natanael.copa 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..f17064d 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.4.2
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic