diff options
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 04fa2abf94b2..4aee5bdd66c8 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -1911,7 +1911,7 @@ EXPORT_SYMBOL_GPL(cgroup_taskset_size); | |||
1911 | * | 1911 | * |
1912 | * Must be called with cgroup_mutex and threadgroup locked. | 1912 | * Must be called with cgroup_mutex and threadgroup locked. |
1913 | */ | 1913 | */ |
1914 | static void cgroup_task_migrate(struct cgroup *cgrp, struct cgroup *oldcgrp, | 1914 | static void cgroup_task_migrate(struct cgroup *oldcgrp, |
1915 | struct task_struct *tsk, struct css_set *newcg) | 1915 | struct task_struct *tsk, struct css_set *newcg) |
1916 | { | 1916 | { |
1917 | struct css_set *oldcg; | 1917 | struct css_set *oldcg; |
@@ -2084,7 +2084,7 @@ int cgroup_attach_task(struct cgroup *cgrp, struct task_struct *tsk, | |||
2084 | */ | 2084 | */ |
2085 | for (i = 0; i < group_size; i++) { | 2085 | for (i = 0; i < group_size; i++) { |
2086 | tc = flex_array_get(group, i); | 2086 | tc = flex_array_get(group, i); |
2087 | cgroup_task_migrate(cgrp, tc->cgrp, tc->task, tc->cg); | 2087 | cgroup_task_migrate(tc->cgrp, tc->task, tc->cg); |
2088 | } | 2088 | } |
2089 | /* nothing is sensitive to fork() after this point. */ | 2089 | /* nothing is sensitive to fork() after this point. */ |
2090 | 2090 | ||