]> git.baikalelectronics.ru Git - kernel.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)
commitc137d14d7518d75822df42a6caae084352df9e32
tree5d213373668564e6d6134fb92033a233a99097d4
parentfcce66d830b7fb2be24c1117d7a7db972ec0dab1
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