diff options
author | Tejun Heo <tj@kernel.org> | 2014-05-16 13:22:51 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-05-16 13:22:51 -0400 |
commit | 184faf32328c65c9d86b19577b8d8b90bdd2cd2e (patch) | |
tree | ee9e7e928105c02b8ec8cc68f435889fc4a85381 /include/linux/cgroup.h | |
parent | c2931b70a32c705b9bd5762f5044f9eac8a52bb3 (diff) |
cgroup: use CSS_ONLINE instead of CGRP_DEAD
Use CSS_ONLINE on the self css to indicate whether a cgroup has been
killed instead of CGRP_DEAD. This will allow re-using css online test
for cgroup liveliness test. This doesn't introduce any functional
change.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r-- | include/linux/cgroup.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index f2ff578fc03a..51a339c99eb6 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -143,8 +143,6 @@ static inline void css_put(struct cgroup_subsys_state *css) | |||
143 | 143 | ||
144 | /* bits in struct cgroup flags field */ | 144 | /* bits in struct cgroup flags field */ |
145 | enum { | 145 | enum { |
146 | /* Control Group is dead */ | ||
147 | CGRP_DEAD, | ||
148 | /* | 146 | /* |
149 | * Control Group has previously had a child cgroup or a task, | 147 | * Control Group has previously had a child cgroup or a task, |
150 | * but no longer (only if CGRP_NOTIFY_ON_RELEASE is set) | 148 | * but no longer (only if CGRP_NOTIFY_ON_RELEASE is set) |