From: Tejun Heo Date: Wed, 14 Aug 2013 00:22:51 +0000 (-0400) Subject: cgroup: factor out kill_css() X-Git-Tag: v3.12-rc1~173^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edae0c3358947f8be5ca99f762d89e0c38e1f5d5;p=pandora-kernel.git cgroup: factor out kill_css() Factor out css ref killing from cgroup_destroy_locked() into kill_css(). We're gonna add more to the path and the factored out function will eventually be called from other places too. While at it, replace open coded percpu_ref_get() with css_get() for consistency. This shouldn't cause any functional difference as the function is not used for root cgroups. Signed-off-by: Tejun Heo Acked-by: Li Zefan --- Reading git-diff-tree failed