blob: 8755afc93c9a2fce187c904905ba65cc5e5700e5 [file] [log] [blame]
Dmitry V. Levin542ca1e2014-12-03 21:09:26 +00001#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
Dmitry V. Levina0bd3742015-04-07 01:36:50 +00009SYS_FUNC(umount2)
Dmitry V. Levin542ca1e2014-12-03 21:09:26 +000010{
Dmitry V. Levinc1f37f62015-07-16 21:13:27 +000011 printstr(tcp, tcp->u_arg[0], -1);
12 tprints(", ");
13 printflags(umount_flags, tcp->u_arg[1], "MNT_???");
14
15 return RVAL_DECODED;
Dmitry V. Levin542ca1e2014-12-03 21:09:26 +000016}