]> git.karo-electronics.de Git - karo-tx-linux.git/commit
audit_tree,rcu: Convert call_rcu(__put_tree) to kfree_rcu()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Tue, 15 Mar 2011 10:03:53 +0000 (18:03 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 1 Aug 2011 08:36:51 +0000 (01:36 -0700)
commitf8477b7c994229417793b7cf2313604c1da32c2a
treefb68971769a5ffbc0d19a379caee19deebc534d9
parent3150d79a23c44e58dce381b477b6b943da308235
audit_tree,rcu: Convert call_rcu(__put_tree) to kfree_rcu()

The rcu callback __put_tree() just calls a kfree(),
so we use kfree_rcu() instead of the call_rcu(__put_tree).

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/audit_tree.c