diff options
author | Oleg Nesterov <oleg@redhat.com> | 2015-12-03 10:24:08 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-12-03 10:24:08 -0500 |
commit | b53202e6308939d33ba0c78712e850f891b4e76f (patch) | |
tree | 2c8998ba6b2580481a93352381a3f2d972901789 /kernel/cgroup_freezer.c | |
parent | 8075b542cf9f5d8a6afd92b4a940e29a677a7510 (diff) | |
download | linux-stable-b53202e6308939d33ba0c78712e850f891b4e76f.tar.gz linux-stable-b53202e6308939d33ba0c78712e850f891b4e76f.tar.bz2 linux-stable-b53202e6308939d33ba0c78712e850f891b4e76f.zip |
cgroup: kill cgrp_ss_priv[CGROUP_CANFORK_COUNT] and friends
Now that nobody use the "priv" arg passed to can_fork/cancel_fork/fork we can
kill CGROUP_CANFORK_COUNT/SUBSYS_TAG/etc and cgrp_ss_priv[] in copy_process().
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup_freezer.c')
-rw-r--r-- | kernel/cgroup_freezer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup_freezer.c b/kernel/cgroup_freezer.c index 2d3df82c54f2..1b72d56edce5 100644 --- a/kernel/cgroup_freezer.c +++ b/kernel/cgroup_freezer.c @@ -200,7 +200,7 @@ static void freezer_attach(struct cgroup_taskset *tset) * to do anything as freezer_attach() will put @task into the appropriate * state. */ -static void freezer_fork(struct task_struct *task, void *private) +static void freezer_fork(struct task_struct *task) { struct freezer *freezer; |