cpuset: don't use cgroup_taskset_cur_css()
authorTejun Heo <tj@kernel.org>
Thu, 13 Feb 2014 11:58:41 +0000 (06:58 -0500)
committerTejun Heo <tj@kernel.org>
Thu, 13 Feb 2014 11:58:41 +0000 (06:58 -0500)
commit57fce0a68e3aa71d223d9023aae66c7393970c34
tree73c6e626bbb96e404113ecd81a6de1c6007e2b70
parent924f0d9a2078f49ff331bb43196ec5afadc16b8f
cpuset: don't use cgroup_taskset_cur_css()

cgroup_taskset_cur_css() will be removed during the planned
resturcturing of migration path.  The only use of
cgroup_taskset_cur_css() is finding out the old cgroup_subsys_state of
the leader in cpuset_attach().  This usage can easily be removed by
remembering the old value from cpuset_can_attach().

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