cgroup: remove unused parameter in cgroup_task_migrate().
PATCH v2 1/1 cgroup: remove unused parameter in cgroup_task_migrate().
This patch removes unused parameter from cgroup_task_migrate().
Signed-off-by Kevin Wilson <[email protected]>
--- kernel/cgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/cgroup.c +2 -2
@@ -1911,7 +1911,7 @@ EXPORT_SYMBOL_GPL(cgroup_taskset_size);* * Must be called with cgroup_mutex and threadgroup locked. */ -static void cgroup_task_migrate (struct cgroup *cgrp,struct cgroup *oldcgrp, +static void cgroup_task_migrate (struct cgroup *oldcgrp,struct task_struct *tsk,struct css_set *newcg) {struct css_set *oldcg;
@@ -2084,7 +2084,7 @@ int cgroup_attach_task(struct cgroup *cgrp, struct task_struct *tsk,*/ for (i =0 ; i < group_size; i++) { tc =flex_array_get (group, i); -cgroup_task_migrate (cgrp, tc->cgrp, tc->task, tc->cg); +cgroup_task_migrate (tc->cgrp, tc->task, tc->cg); }/* nothing is sensitive to fork() after this point. */
Signature · 1 line
1.8.1.4
A message that is not in the archive (sent off-list or not yet received): 1364802697-7875-1-git-send-email-wkevils-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Li Zefan
Acked-byQuoted 3 lines · Kevin Wilson
This patch removes unused parameter from
cgroup_task_migrate().Signed-off-by Kevin Wilson <[email protected]>
Acked-by Li Zefan <[email protected]>
You should have retained the ack tag..
Tejun Heo
AppliedQuoted 3 lines · Kevin Wilson
This patch removes unused parameter from
cgroup_task_migrate().Signed-off-by Kevin Wilson <[email protected]>
Applied to cgroup/for-3.10.
Thanks.
Signature · 1 line
tejun