]> git.karo-electronics.de Git - linux-beck.git/commit
cgroup: remove cgroup_destory_css_killed()
authorTejun Heo <tj@kernel.org>
Wed, 14 May 2014 13:15:01 +0000 (09:15 -0400)
committerTejun Heo <tj@kernel.org>
Wed, 14 May 2014 13:15:01 +0000 (09:15 -0400)
commit249f3468a282dcbad53484c821bebb447f14ee03
tree5d213373668564e6d6134fb92033a233a99097d4
parent4e4e28472365f8c7a7c55f6b5706f68bc40c5b13
cgroup: remove cgroup_destory_css_killed()

cgroup_destroy_css_killed() is cgroup destruction stage which happens
after all csses are offlined.  After the recent updates, it no longer
does anything other than putting the base reference.  This patch
removes the function and makes cgroup_destroy_locked() put the base
ref at the end isntead.

This also makes cgroup->nr_css unnecessary.  Removed.

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