Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339337
b: refs/heads/master
c: b48c6a8
h: refs/heads/master
i:
  339335: 09f0aa1
v: v3
  • Loading branch information
Tejun Heo committed Nov 19, 2012
1 parent 80a1f08 commit cc0a1d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 38b53abaa3e0c7e750ef73eee919cf42eee6b134
refs/heads/master: b48c6a80a0f7584056f768268fc12b87745a393f
6 changes: 3 additions & 3 deletions trunk/kernel/cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -4332,7 +4332,7 @@ static void __init cgroup_init_subsys(struct cgroup_subsys *ss)
* pointer to this state - since the subsystem is
* newly registered, all tasks and hence the
* init_css_set is in the subsystem's top cgroup. */
init_css_set.subsys[ss->subsys_id] = dummytop->subsys[ss->subsys_id];
init_css_set.subsys[ss->subsys_id] = css;

need_forkexit_callback |= ss->fork || ss->exit;

Expand All @@ -4344,7 +4344,7 @@ static void __init cgroup_init_subsys(struct cgroup_subsys *ss)
ss->active = 1;

if (ss->post_create)
ss->post_create(&ss->root->top_cgroup);
ss->post_create(dummytop);

/* this function shouldn't be used with modular subsystems, since they
* need to register a subsys_id, among other things */
Expand Down Expand Up @@ -4456,7 +4456,7 @@ int __init_or_module cgroup_load_subsys(struct cgroup_subsys *ss)
ss->active = 1;

if (ss->post_create)
ss->post_create(&ss->root->top_cgroup);
ss->post_create(dummytop);

/* success! */
mutex_unlock(&cgroup_mutex);
Expand Down

0 comments on commit cc0a1d5

Please sign in to comment.