Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 365598
b: refs/heads/master
c: e57d5cf
h: refs/heads/master
v: v3
  • Loading branch information
Rami Rosen authored and Tejun Heo committed Apr 18, 2013
1 parent 0e33589 commit bcd16ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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: f00baae7ad6c5f1503528efa852f0be8e9513f0e
refs/heads/master: e57d5cf2f894e3f2727f8cf74bed0bc81cae70c8
2 changes: 0 additions & 2 deletions trunk/security/device_cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,13 @@ static void devcgroup_offline(struct cgroup *cgroup)
static struct cgroup_subsys_state *devcgroup_css_alloc(struct cgroup *cgroup)
{
struct dev_cgroup *dev_cgroup;
struct cgroup *parent_cgroup;

dev_cgroup = kzalloc(sizeof(*dev_cgroup), GFP_KERNEL);
if (!dev_cgroup)
return ERR_PTR(-ENOMEM);
INIT_LIST_HEAD(&dev_cgroup->exceptions);
INIT_LIST_HEAD(&dev_cgroup->propagate_pending);
dev_cgroup->behavior = DEVCG_DEFAULT_NONE;
parent_cgroup = cgroup->parent;

return &dev_cgroup->css;
}
Expand Down

0 comments on commit bcd16ba

Please sign in to comment.