diff options
author | Dongsheng Yang <yangds.fnst@cn.fujitsu.com> | 2014-08-25 07:27:52 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-08-25 10:49:29 -0400 |
commit | 251f8c0364f99fc21fcc7b07e4ec6b4f3250d841 (patch) | |
tree | 16f89c95f572a2e120ea0f1a2c0cae3f21c4a0d9 /kernel/cgroup.c | |
parent | 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9 (diff) |
cgroup: fix a typo in comment.
There is no function named cgroup_enable_task_cg_links().
Instead, the correct function name in this comment should
be cgroup_enabled_task_cg_lists().
Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
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 7dc8788cfd52..64bbb56496c2 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -5161,7 +5161,7 @@ void cgroup_post_fork(struct task_struct *child) | |||
5161 | int i; | 5161 | int i; |
5162 | 5162 | ||
5163 | /* | 5163 | /* |
5164 | * This may race against cgroup_enable_task_cg_links(). As that | 5164 | * This may race against cgroup_enable_task_cg_lists(). As that |
5165 | * function sets use_task_css_set_links before grabbing | 5165 | * function sets use_task_css_set_links before grabbing |
5166 | * tasklist_lock and we just went through tasklist_lock to add | 5166 | * tasklist_lock and we just went through tasklist_lock to add |
5167 | * @child, it's guaranteed that either we see the set | 5167 | * @child, it's guaranteed that either we see the set |
@@ -5176,7 +5176,7 @@ void cgroup_post_fork(struct task_struct *child) | |||
5176 | * when implementing operations which need to migrate all tasks of | 5176 | * when implementing operations which need to migrate all tasks of |
5177 | * a cgroup to another. | 5177 | * a cgroup to another. |
5178 | * | 5178 | * |
5179 | * Note that if we lose to cgroup_enable_task_cg_links(), @child | 5179 | * Note that if we lose to cgroup_enable_task_cg_lists(), @child |
5180 | * will remain in init_css_set. This is safe because all tasks are | 5180 | * will remain in init_css_set. This is safe because all tasks are |
5181 | * in the init_css_set before cg_links is enabled and there's no | 5181 | * in the init_css_set before cg_links is enabled and there's no |
5182 | * operation which transfers all tasks out of init_css_set. | 5182 | * operation which transfers all tasks out of init_css_set. |