diff options
author | Tejun Heo <tj@kernel.org> | 2012-11-19 11:13:35 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2012-11-19 11:13:35 -0500 |
commit | 2243076ad128d0cc196cf6597e6ddcf6bc907676 (patch) | |
tree | 97705aa98559f30740570f2234246836f9eb959d | |
parent | 175431635ec09b1d1bba04979b006b99e8305a83 (diff) |
cgroup: initialize cgrp->allcg_node in init_cgroup_housekeeping()
Not strictly necessary but it's annoying to have uninitialized
list_head around.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
-rw-r--r-- | kernel/cgroup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index d0803f097f87..ed0e177c4650 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -1381,6 +1381,7 @@ static void init_cgroup_housekeeping(struct cgroup *cgrp) | |||
1381 | INIT_LIST_HEAD(&cgrp->children); | 1381 | INIT_LIST_HEAD(&cgrp->children); |
1382 | INIT_LIST_HEAD(&cgrp->files); | 1382 | INIT_LIST_HEAD(&cgrp->files); |
1383 | INIT_LIST_HEAD(&cgrp->css_sets); | 1383 | INIT_LIST_HEAD(&cgrp->css_sets); |
1384 | INIT_LIST_HEAD(&cgrp->allcg_node); | ||
1384 | INIT_LIST_HEAD(&cgrp->release_list); | 1385 | INIT_LIST_HEAD(&cgrp->release_list); |
1385 | INIT_LIST_HEAD(&cgrp->pidlists); | 1386 | INIT_LIST_HEAD(&cgrp->pidlists); |
1386 | mutex_init(&cgrp->pidlist_mutex); | 1387 | mutex_init(&cgrp->pidlist_mutex); |