diff --git a/[refs] b/[refs] index f14f3c0eb8d5..fd679fb39cda 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6034f7e603cd2dae8ed9a1d8d2ccfeb6b5c48d73 +refs/heads/master: 3b097c46964b07479855b01056c61540b8cadd50 diff --git a/trunk/kernel/audit_tree.c b/trunk/kernel/audit_tree.c index e99dda04b126..5bf0790497e7 100644 --- a/trunk/kernel/audit_tree.c +++ b/trunk/kernel/audit_tree.c @@ -93,16 +93,10 @@ static inline void get_tree(struct audit_tree *tree) atomic_inc(&tree->count); } -static void __put_tree(struct rcu_head *rcu) -{ - struct audit_tree *tree = container_of(rcu, struct audit_tree, head); - kfree(tree); -} - static inline void put_tree(struct audit_tree *tree) { if (atomic_dec_and_test(&tree->count)) - call_rcu(&tree->head, __put_tree); + kfree_rcu(tree, head); } /* to avoid bringing the entire thing in audit.h */