]> git.karo-electronics.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>
Mon, 18 Mar 2013 19:46:04 +0000 (12:46 -0700)
commitb7f7722e32a77a5125d984390b4e1db7fe5a560d
tree9df9eb7a744deb5f1bd9d5dfde56e78bbf3cee1c
parent9185aa18f254fb0a17cbea98164b0be184dcde5d
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