cgroup: change cgroup_from_id() to css_from_id()
authorLi Zefan <lizefan@huawei.com>
Mon, 19 Aug 2013 02:05:24 +0000 (10:05 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 19 Aug 2013 13:52:18 +0000 (09:52 -0400)
commit1cb650b91ba582f6737457b7d22e368585596d2c
tree1a3d8d4a219dcca229dcc6dc47876091ef0f8438
parent930913a31289202d232186b82854b26d7fb7cf4d
cgroup: change cgroup_from_id() to css_from_id()

Now we want cgroup core to always provide the css to use to the
subsystems, so change this API to css_from_id().

Uninline css_from_id(), because it's getting bigger and cgroup_css()
has been unexported.

While at it, remove the #ifdef, and shuffle the order of the args.

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