projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1754316
)
cgroup: initialize cgrp->allcg_node in init_cgroup_housekeeping()
author
Tejun Heo
<tj@kernel.org>
Mon, 19 Nov 2012 16:13:35 +0000
(08:13 -0800)
committer
Tejun Heo
<tj@kernel.org>
Mon, 19 Nov 2012 16:13:35 +0000
(08:13 -0800)
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>
kernel/cgroup.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/cgroup.c
b/kernel/cgroup.c
index d0803f097f87ead7348445db6ce789c0effff1c5..ed0e177c465056f6170f647198a495f133a597e8 100644
(file)
--- 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);