move_pages: just use calloc
[trinity.git] / syscalls / umount.c
blob87ebcaf44771f9e93438cf014cdd8543f53aab5a
1 /*
2 * SYSCALL_DEFINE2(umount, char __user *, name, int, flags)
3 */
4 #include <sys/mount.h>
5 #include "sanitise.h"
6 #include "compat.h"
8 struct syscallentry syscall_umount = {
9 .name = "umount",
10 .num_args = 2,
11 .arg1name = "name",
12 .arg1type = ARG_PATHNAME,
13 .arg2name = "flags",
14 .arg2type = ARG_LIST,
15 .arg2list = {
16 .num = 4,
17 .values = { MNT_FORCE, MNT_DETACH, MNT_EXPIRE, UMOUNT_NOFOLLOW },
19 .group = GROUP_VFS,