linux_dsm_epyc7002/drivers/target/tcm_fc
Andreea-Cristina Bernat c04047ecee tcm_fc: Replace rcu_assign_pointer() with RCU_INIT_POINTER()
The use of "rcu_assign_pointer()" is NULLing out the pointer.
According to RCU_INIT_POINTER()'s block comment:
"1.   This use of RCU_INIT_POINTER() is NULLing out the pointer"
it is better to use it instead of rcu_assign_pointer() because it has a
smaller overhead.

The following Coccinelle semantic patch was used:
@@
@@

- rcu_assign_pointer
+ RCU_INIT_POINTER
  (..., NULL)

Signed-off-by: Andreea-Cristina Bernat <bernat.ada@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2014-09-15 14:27:33 -07:00
..
Kconfig [SCSI] tcm_fc: Adding FC_FC4 provider (tcm_fc) for FCoE target (TCM - target core) support 2011-05-17 10:52:46 +04:00
Makefile tcm_fc: Makefile cleanups 2011-07-22 09:37:47 +00:00
tcm_fc.h target/tcm_fc: Rename structs and list members for clarity 2014-04-11 15:30:51 -07:00
tfc_cmd.c tcm_fc: Generate TASK_SET_FULL status for response failures 2014-06-06 14:20:51 -07:00
tfc_conf.c target/tcm_fc: Rename ft_{add,del}_lport to {add,del}_wwn 2014-04-11 15:30:51 -07:00
tfc_io.c tcm_fc: Generate TASK_SET_FULL status for DataIN failures 2014-06-06 14:20:23 -07:00
tfc_sess.c tcm_fc: Replace rcu_assign_pointer() with RCU_INIT_POINTER() 2014-09-15 14:27:33 -07:00