Dmitry V. Levin | 542ca1e | 2014-12-03 21:09:26 +0000 | [diff] [blame] | 1 | #include "defs.h" |
2 | |||||
3 | #define MNT_FORCE 0x00000001 /* Attempt to forcibily umount */ | ||||
4 | #define MNT_DETACH 0x00000002 /* Just detach from the tree */ | ||||
5 | #define MNT_EXPIRE 0x00000004 /* Mark for expiry */ | ||||
6 | |||||
7 | #include "xlat/umount_flags.h" | ||||
8 | |||||
9 | int | ||||
10 | sys_umount2(struct tcb *tcp) | ||||
11 | { | ||||
12 | if (entering(tcp)) { | ||||
13 | printstr(tcp, tcp->u_arg[0], -1); | ||||
14 | tprints(", "); | ||||
15 | printflags(umount_flags, tcp->u_arg[1], "MNT_???"); | ||||
16 | } | ||||
17 | return 0; | ||||
18 | } |