commit | e8c82d20a9f729cf4b9f73043f7fd4e0872bebfd | [log] [tgz] |
---|---|---|
author | Li Zefan <lizefan@huawei.com> | Tue Jun 18 18:48:37 2013 +0800 |
committer | Tejun Heo <tj@kernel.org> | Tue Jun 18 11:14:22 2013 -0700 |
tree | fc45f039baee86a1b867d6c55cb05ea7e8c47288 | |
parent | 794611a1dfcb055d7d41ce133378dd8197d73e38 [diff] |
cgroup: convert cgroup_cft_commit() to use cgroup_for_each_descendant_pre() We used root->allcg_list to iterate cgroup hierarchy because at that time cgroup_for_each_descendant_pre() hasn't been invented. tj: In cgroup_cfts_commit(), s/@serial_nr/@update_upto/, move the assignment right above releasing cgroup_mutex and explain what's going on there. Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: Tejun Heo <tj@kernel.org>