]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
libceph: using kfree_rcu() to simplify the code
authorWei Yongjun <weiyj.lk@gmail.com>
Sat, 30 Jul 2016 00:38:26 +0000 (00:38 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 8 Aug 2016 19:41:42 +0000 (21:41 +0200)
commit864364a29c26ed83b3eeca5fa278468dc3ae9ed4
tree110b270984da9ac18f315281db430aa1cfbb1585
parentf52ec33cbd848632559c87c9305a70fb6eb97f18
libceph: using kfree_rcu() to simplify the code

The callback function of call_rcu() just calls a kfree(), so we
can use kfree_rcu() instead of call_rcu() + callback function.

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/string_table.c