cgroup: rename CGRP_REMOVED to CGRP_DEAD
authorTejun Heo <tj@kernel.org>
Thu, 13 Jun 2013 04:04:53 +0000 (21:04 -0700)
committerTejun Heo <tj@kernel.org>
Thu, 13 Jun 2013 17:55:18 +0000 (10:55 -0700)
commit54766d4a1d3d6f84ff8fa475cd8f165c0a0000eb
tree8a897b12cfe0f2e373eceffd3eddb095efd23844
parent5de0107e634ce862f16360139709d9d3a656463e
cgroup: rename CGRP_REMOVED to CGRP_DEAD

We will add another flag indicating that the cgroup is in the process
of being killed.  REMOVING / REMOVED is more difficult to distinguish
and cgroup_is_removing()/cgroup_is_removed() are a bit awkward.  Also,
later percpu_ref usage will involve "kill"ing the refcnt.

 s/CGRP_REMOVED/CGRP_DEAD/
 s/cgroup_is_removed()/cgroup_is_dead()

This patch is purely cosmetic.

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