Andreea-Cristina Bernat 1d7e4ebf29 afs: inode: 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: David Howells <dhowells@redhat.com>
2017-03-16 16:27:45 +00:00
..
2017-02-27 18:43:46 -08:00
2017-02-27 18:43:46 -08:00
2017-02-27 18:43:46 -08:00
2017-01-30 16:32:25 -08:00
2016-12-14 23:48:11 -05:00
2017-02-27 18:43:46 -08:00
2016-12-05 19:03:49 -05:00
2017-03-10 08:59:07 -08:00