]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 1 Aug 2011 08:36:53 +0000 (01:36 -0700)
commite68eae5a05f8288b30e023e78c7a10adfc10adb5
tree0b909f738fb3cd55198d1bd0ad425b45aac5b2ff
parentc6615a33ad4ad56af262b1103268237341930481
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