From: Tejun Heo Date: Mon, 19 Nov 2012 16:13:35 +0000 (-0800) Subject: cgroup: initialize cgrp->allcg_node in init_cgroup_housekeeping() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2243076ad128d0cc196cf6597e6ddcf6bc907676;p=linux-beck.git 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 Acked-by: Li Zefan --- 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) INIT_LIST_HEAD(&cgrp->children); INIT_LIST_HEAD(&cgrp->files); INIT_LIST_HEAD(&cgrp->css_sets); + INIT_LIST_HEAD(&cgrp->allcg_node); INIT_LIST_HEAD(&cgrp->release_list); INIT_LIST_HEAD(&cgrp->pidlists); mutex_init(&cgrp->pidlist_mutex);