commit | 52bc2cba33fc1335b230b0d5594b22f217364074 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Jun 12 13:50:54 2013 -0700 |
committer | Tejun Heo <tj@kernel.org> | Wed Jun 12 13:50:54 2013 -0700 |
tree | 3b7c872486cf8ad9bef2ce091dd7538773b3954b | |
parent | 919e0c4a614fce2fdf8a57e5500841e18bb523e6 [diff] |
cgroup: remove cgroup->count and use cgroup->count tracks the number of css_sets associated with the cgroup and used only to verify that no css_set is associated when the cgroup is being destroyed. It's superflous as the destruction path can simply check whether cgroup->cset_links is empty instead. Drop cgroup->count and check ->cset_links directly from cgroup_destroy_locked(). Signed-off-by: Tejun Heo <tj@kernel.org>