cpuset: use cgroup_name() in cpuset_print_task_mems_allowed()
authorLi Zefan <lizefan@huawei.com>
Fri, 1 Mar 2013 07:02:15 +0000 (15:02 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 4 Mar 2013 17:50:08 +0000 (09:50 -0800)
commitf440d98f8ebab02a768c1de17395e4239af9a97d
tree06ea2d293e51962fa63bd554b7e1a0819fe8de8a
parent65dff759d2948cf18e2029fc5c0c595b8b7da3a5
cpuset: use cgroup_name() in cpuset_print_task_mems_allowed()

Use cgroup_name() instead of cgrp->dentry->name. This makes the code
a bit simpler.

While at it, remove cpuset_name and make cpuset_nodelist a local variable
to cpuset_print_task_mems_allowed().

Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cpuset.c