blob: b015f83871feba3bcea6c7e3f3e2d76e717c9ab0 [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{
11 if (entering(tcp)) {
12 printstr(tcp, tcp->u_arg[0], -1);
13 tprints(", ");
14 printflags(umount_flags, tcp->u_arg[1], "MNT_???");
15 }
16 return 0;
17}