summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 09:47:31 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-04 04:55:12 +0100
commit36fcb589e752fa9c71f8a447db94126d102fd937 (patch)
tree3ab8ff6c99e7f16915e48742d6c212a0cc7e2646 /kernel/sched.c
parentget rid of open-coded S_ISREG(), etc. (diff)
downloadlinux-36fcb589e752fa9c71f8a447db94126d102fd937.tar.xz
linux-36fcb589e752fa9c71f8a447db94126d102fd937.zip
sysctl: use umode_t for table permissions
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index d6b149ccf925..e64f45741e0e 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -6480,7 +6480,7 @@ static void sd_free_ctl_entry(struct ctl_table **tablep)
static void
set_table_entry(struct ctl_table *entry,
const char *procname, void *data, int maxlen,
- mode_t mode, proc_handler *proc_handler)
+ umode_t mode, proc_handler *proc_handler)
{
entry->procname = procname;
entry->data = data;