cgroup: cosmetic updates to cgroup_attach_task()
authorTejun Heo <tj@kernel.org>
Thu, 13 Feb 2014 11:58:43 +0000 (06:58 -0500)
committerTejun Heo <tj@kernel.org>
Thu, 13 Feb 2014 11:58:43 +0000 (06:58 -0500)
commit9db8de3722d184b8a431afd6bef803d6867ac889
treeeeb23ad425d8bad43382e53ac61287092b0a8530
parentbc668c7519ff8b4681af80e92f463bec7bf7cf9e
cgroup: cosmetic updates to cgroup_attach_task()

cgroup_attach_task() is planned to go through restructuring.  Let's
tidy it up a bit in preparation.

* Update cgroup_attach_task() to receive the target task argument in
  @leader instead of @tsk.

* Rename @tsk to @task.

* Rename @retval to @ret.

This is purely cosmetic.

v2: get_nr_threads() was using uninitialized @task instead of @leader.
    Fixed.  Reported by Dan Carpenter.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
kernel/cgroup.c
This page took 0.027848 seconds and 5 git commands to generate.