]> git.baikalelectronics.ru Git - kernel.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)
commit4ba41b68f88846a81ef2c650ed1572a31142ccda
treeff4fd70aba744684a5a43a7bbf91a78e74f6573b
parent30c4f551f32a27978ae214a8830f48fbf65c78cb
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