Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 190680
b: refs/heads/master
c: fae9c79
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Paul E. McKenney committed May 4, 2010
1 parent 3d3ecd4 commit aa965db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 9a9686b634acc5cb6b7c601c171ae64af0318a24
refs/heads/master: fae9c791703606636c1220e47f6690660042ce7f
4 changes: 2 additions & 2 deletions trunk/kernel/cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -4561,13 +4561,13 @@ static int alloc_css_id(struct cgroup_subsys *ss, struct cgroup *parent,
{
int subsys_id, i, depth = 0;
struct cgroup_subsys_state *parent_css, *child_css;
struct css_id *child_id, *parent_id = NULL;
struct css_id *child_id, *parent_id;

subsys_id = ss->subsys_id;
parent_css = parent->subsys[subsys_id];
child_css = child->subsys[subsys_id];
depth = css_depth(parent_css) + 1;
parent_id = parent_css->id;
depth = parent_id->depth;

child_id = get_new_cssid(ss, depth);
if (IS_ERR(child_id))
Expand Down

0 comments on commit aa965db

Please sign in to comment.