Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257000
b: refs/heads/master
c: 6034f7e
h: refs/heads/master
v: v3
  • Loading branch information
Lai Jiangshan authored and Paul E. McKenney committed Jul 20, 2011
1 parent 4c3e610 commit 3a125ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 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: b119cbab3aecd19dbd748a9823c02d200b96b2f8
refs/heads/master: 6034f7e603cd2dae8ed9a1d8d2ccfeb6b5c48d73
10 changes: 1 addition & 9 deletions trunk/security/device_cgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,6 @@ static int dev_whitelist_add(struct dev_cgroup *dev_cgroup,
return 0;
}

static void whitelist_item_free(struct rcu_head *rcu)
{
struct dev_whitelist_item *item;

item = container_of(rcu, struct dev_whitelist_item, rcu);
kfree(item);
}

/*
* called under devcgroup_mutex
*/
Expand All @@ -155,7 +147,7 @@ static void dev_whitelist_rm(struct dev_cgroup *dev_cgroup,
walk->access &= ~wh->access;
if (!walk->access) {
list_del_rcu(&walk->list);
call_rcu(&walk->rcu, whitelist_item_free);
kfree_rcu(walk, rcu);
}
}
}
Expand Down

0 comments on commit 3a125ad

Please sign in to comment.