summaryrefslogtreecommitdiff
path: root/kernel/cgroup.c
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2015-10-27 18:18:04 -0700
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:53:46 -0800
commit69db8fca423ad74f6a16f7d499b5a1006335e4df (patch)
tree7bf9383b097223a2017707ace16b2c23197bfa42 /kernel/cgroup.c
parent205cfee796888a40f31a54540c6046718bb4da7c (diff)
cgroup: fix cgroup_taskset_for_each call in allow_attach() for 4.1
Change-Id: I05013f6e76c30b0ece3671f9f2b4bbdc626cd35c Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r--kernel/cgroup.c2
1 files changed, 1 insertions, 1 deletions
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) &&