]> 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)
commit9b0371122520932e72bdcb0a5e9aa51d5ec9cd71
treeff4fd70aba744684a5a43a7bbf91a78e74f6573b
parent1620b17de2b4fa413f5de5b5cd7fe0d234c91b89
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