sched: Clean up parameter passing of proc_sched_autogroup_set_nice()
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Thu, 23 Feb 2012 08:41:27 +0000 (17:41 +0900)
committerIngo Molnar <mingo@elte.hu>
Fri, 2 Mar 2012 11:23:49 +0000 (12:23 +0100)
commit2e5b5b3a1b7768c89fbfeca18e75f8ee377e924c
tree0d6d589e42b7e88464d5edcfa818b3a7e27a93e8
parent367456c756a6b84f493ca9cc5b17b1f5d38ef466
sched: Clean up parameter passing of proc_sched_autogroup_set_nice()

Pass nice as a value to proc_sched_autogroup_set_nice().

No side effect is expected, and the variable err will be overwritten with
the return value.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/4F45FBB7.5090607@ct.jp.nec.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
fs/proc/base.c
include/linux/sched.h
kernel/sched/auto_group.c