From: Dmitry Shmidt Date: Wed, 28 Oct 2015 01:18:04 +0000 (-0700) Subject: cgroup: fix cgroup_taskset_for_each call in allow_attach() for 4.1 X-Git-Tag: firefly_0821_release~2958^2~162 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=69db8fca423ad74f6a16f7d499b5a1006335e4df;p=firefly-linux-kernel-4.4.55.git cgroup: fix cgroup_taskset_for_each call in allow_attach() for 4.1 Change-Id: I05013f6e76c30b0ece3671f9f2b4bbdc626cd35c Signed-off-by: Dmitry Shmidt --- diff --git a/kernel/cgroup.c b/kernel/cgroup.c index ad495f0f59bb..7fd423e55046 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -2671,7 +2671,7 @@ int subsys_cgroup_allow_attach(struct cgroup_subsys_state *css, struct cgroup_ta if (capable(CAP_SYS_NICE)) return 0; - cgroup_taskset_for_each(task, css, tset) { + cgroup_taskset_for_each(task, tset) { tcred = __task_cred(task); if (current != task && !uid_eq(cred->euid, tcred->uid) &&