linux/drivers/scsi/libfc
Andreea-Cristina Bernat f4303d8fa6 libfc: Replace rcu_assign_pointer() with RCU_INIT_POINTER()
The uses of "rcu_assign_pointer()" are NULLing out the pointers.
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>
Acked-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-09-30 09:28:36 +02:00
..
fc_disc.c
fc_elsct.c
fc_exch.c libfc: Do not invoke the response handler after fc_exch_done() 2013-09-04 13:45:22 -07:00
fc_fcp.c fcp: Do not interpret check condition as underrun 2013-09-04 13:52:35 -07:00
fc_frame.c
fc_libfc.c libfc: Replace rcu_assign_pointer() with RCU_INIT_POINTER() 2014-09-30 09:28:36 +02:00
fc_libfc.h
fc_lport.c libfc: Debug code fixes 2013-09-04 12:55:02 -07:00
fc_npiv.c
fc_rport.c libfc: Source code comment spelling fixes 2013-09-04 12:47:49 -07:00
Makefile