Skip to content
Commit 864364a2 authored by Wei Yongjun's avatar Wei Yongjun Committed by Ilya Dryomov
Browse files

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: default avatarWei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent f52ec33c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment