]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tcm_fc: using kfree_rcu() to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 11 Mar 2013 13:48:28 +0000 (21:48 +0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 25 Apr 2013 08:05:23 +0000 (01:05 -0700)
commita6ad57efc39ca0ed58733f13f658ac14317a90ba
treeff4fd70aba744684a5a43a7bbf91a78e74f6573b
parent5d358065daaed54e8cacf911ab9f9554a845bd00
tcm_fc: 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 <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_sess.c