]> git.baikalelectronics.ru Git - kernel.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)
commit29b038fecac826009f3e66064318bc0d418f001c
tree110b270984da9ac18f315281db430aa1cfbb1585
parente59d9fe68249f2209be37771ecfdd5197ce8066b
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