diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-25 23:32:17 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:54:52 +0100 |
commit | 8208a22bb8bd3c52ef634b4ff194f14892ab1713 (patch) | |
tree | 1ebcac8fb2b747b1da894df8cfbb42bd0f742b06 /fs/namei.c | |
parent | vfs: fix the rest of sget() races (diff) | |
download | linux-8208a22bb8bd3c52ef634b4ff194f14892ab1713.tar.xz linux-8208a22bb8bd3c52ef634b4ff194f14892ab1713.zip |
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) } } -SYSCALL_DEFINE4(mknodat, int, dfd, const char __user *, filename, int, mode, +SYSCALL_DEFINE4(mknodat, int, dfd, const char __user *, filename, umode_t, mode, unsigned, dev) { struct dentry *dentry; @@ -2536,7 +2536,7 @@ out_dput: return error; } -SYSCALL_DEFINE3(mknod, const char __user *, filename, int, mode, unsigned, dev) +SYSCALL_DEFINE3(mknod, const char __user *, filename, umode_t, mode, unsigned, dev) { return sys_mknodat(AT_FDCWD, filename, mode, dev); } |