Update umount2 flags

* umount.c (MNT_FORCE, MNT_DETACH, MNT_EXPIRE): Move definitions ...
* xlat/umount_flags.in: ... here.  Add UMOUNT_NOFOLLOW.
This commit is contained in:
Дмитрий Левин 2015-12-07 00:10:58 +00:00
parent 431d7fd21a
commit 97af1be4c6
2 changed files with 4 additions and 8 deletions

View File

@ -1,9 +1,4 @@
#include "defs.h"
#define MNT_FORCE 0x00000001 /* Attempt to forcibily umount */
#define MNT_DETACH 0x00000002 /* Just detach from the tree */
#define MNT_EXPIRE 0x00000004 /* Mark for expiry */
#include "xlat/umount_flags.h"
SYS_FUNC(umount2)

View File

@ -1,3 +1,4 @@
MNT_FORCE
MNT_DETACH
MNT_EXPIRE
MNT_FORCE 1
MNT_DETACH 2
MNT_EXPIRE 4
UMOUNT_NOFOLLOW 8