diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-25 17:32:17 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:52 -0500 |
commit | 8208a22bb8bd3c52ef634b4ff194f14892ab1713 (patch) | |
tree | 1ebcac8fb2b747b1da894df8cfbb42bd0f742b06 /fs/namei.c | |
parent | dabe0dc194d5d56d379a8994fff47392744b6491 (diff) |
switch sys_mknodat(2) to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namei.c b/fs/namei.c index 5008f01787f5..f6b3c73e862c 100644 --- a/fs/namei.c +++ b/fs/namei.c | |||
@@ -2489,7 +2489,7 @@ static int may_mknod(mode_t mode) | |||
2489 | } | 2489 | } |
2490 | } | 2490 | } |
2491 | 2491 | ||
2492 | SYSCALL_DEFINE4(mknodat, int, dfd, const char __user *, filename, int, mode, | 2492 | SYSCALL_DEFINE4(mknodat, int, dfd, const char __user *, filename, umode_t, mode, |
2493 | unsigned, dev) | 2493 | unsigned, dev) |
2494 | { | 2494 | { |
2495 | struct dentry *dentry; | 2495 | struct dentry *dentry; |
@@ -2536,7 +2536,7 @@ out_dput: | |||
2536 | return error; | 2536 | return error; |
2537 | } | 2537 | } |
2538 | 2538 | ||
2539 | SYSCALL_DEFINE3(mknod, const char __user *, filename, int, mode, unsigned, dev) | 2539 | SYSCALL_DEFINE3(mknod, const char __user *, filename, umode_t, mode, unsigned, dev) |
2540 | { | 2540 | { |
2541 | return sys_mknodat(AT_FDCWD, filename, mode, dev); | 2541 | return sys_mknodat(AT_FDCWD, filename, mode, dev); |
2542 | } | 2542 | } |