cgroup: fix cgroup_taskset_for_each call in allow_attach() for 4.1
authorDmitry Shmidt <dimitrysh@google.com>
Wed, 28 Oct 2015 01:18:04 +0000 (18:18 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:46 +0000 (13:53 -0800)
Change-Id: I05013f6e76c30b0ece3671f9f2b4bbdc626cd35c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
kernel/cgroup.c

index ad495f0f59bb4f701a048ef59a09c274cdb83a22..7fd423e550464f195af01bec6aedaec36d19a0b5 100644 (file)
@@ -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) &&