diff options
author | Tejun Heo <tj@kernel.org> | 2013-08-13 20:22:51 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-08-13 20:22:51 -0400 |
commit | edae0c3358947f8be5ca99f762d89e0c38e1f5d5 (patch) | |
tree | b8eefc09b48fe05e7ad069e1136e1f5b4a514d5e /Kbuild | |
parent | 09a503ea3a816b285b0b402b7f785eaec0c7a7e1 (diff) |
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 <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions