Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366102
b: refs/heads/master
c: 479f614
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Ingo Molnar committed Apr 10, 2013
1 parent 91f84d8 commit 2ba9ae1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 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: a2b0ae25fc8bfeeb4022b8e847ab811b3c8368d1
refs/heads/master: 479f614110b889d5783acdaec865ede3cdb96b97
1 change: 0 additions & 1 deletion trunk/include/linux/cgroup.h
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@ struct cgroup_subsys {
void (*bind)(struct cgroup *root);

int subsys_id;
int active;
int disabled;
int early_init;
/*
Expand Down
3 changes: 0 additions & 3 deletions trunk/kernel/cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -4468,7 +4468,6 @@ static void __init cgroup_init_subsys(struct cgroup_subsys *ss)
* need to invoke fork callbacks here. */
BUG_ON(!list_empty(&init_task.tasks));

ss->active = 1;
BUG_ON(online_css(ss, dummytop));

mutex_unlock(&cgroup_mutex);
Expand Down Expand Up @@ -4573,7 +4572,6 @@ int __init_or_module cgroup_load_subsys(struct cgroup_subsys *ss)
}
write_unlock(&css_set_lock);

ss->active = 1;
ret = online_css(ss, dummytop);
if (ret)
goto err_unload;
Expand Down Expand Up @@ -4614,7 +4612,6 @@ void cgroup_unload_subsys(struct cgroup_subsys *ss)
mutex_lock(&cgroup_mutex);

offline_css(ss, dummytop);
ss->active = 0;

if (ss->use_id)
idr_destroy(&ss->idr);
Expand Down

0 comments on commit 2ba9ae1

Please sign in to comment.