block,rcu: Convert call_rcu(disk_free_ptbl_rcu_cb) to kfree_rcu()
authorLai Jiangshan <laijs@cn.fujitsu.com>
Fri, 18 Mar 2011 03:42:58 +0000 (11:42 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 20 Jul 2011 21:10:13 +0000 (14:10 -0700)
commit57bdfbf9ee2b0856d8b62180c3b3f8fa1533b8d1
treed39485c723d98fb3d7b2499c59232cd05f4eabc2
parent8497a24a43374f0142335b0ef0614ccc459e3d8d
block,rcu: Convert call_rcu(disk_free_ptbl_rcu_cb) to kfree_rcu()

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

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
block/genhd.c