diff --git a/block/cfq-cgroup.c b/block/cfq-cgroup.c index f868f4f..64561f5 100644 --- a/block/cfq-cgroup.c +++ b/block/cfq-cgroup.c @@ -183,7 +184,7 @@ static void *cfq_cgroup_init_cfq_data(struct cfq_cgroup *cfqc, struct cfq_data * /* check and create cfq_data for children */ if (cfqc->css.cgroup) - list_for_each_entry(child, &cfqc->css.cgroup->children, children){ + list_for_each_entry(child, &cfqc->css.cgroup->children, sibling){ cfq_cgroup_init_cfq_data(cgroup_to_cfq_cgroup(child), cfqd); }