From 69db8fca423ad74f6a16f7d499b5a1006335e4df Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Tue, 27 Oct 2015 18:18:04 -0700 Subject: [PATCH] cgroup: fix cgroup_taskset_for_each call in allow_attach() for 4.1 Change-Id: I05013f6e76c30b0ece3671f9f2b4bbdc626cd35c Signed-off-by: Dmitry Shmidt --- kernel/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) && -- 2.34.1