linux/net/sunrpc
Stephen Hemminger a9b3cd7f32 rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER
When assigning a NULL value to an RCU protected pointer, no barrier
is needed. The rcu_assign_pointer, used to handle that but will soon
change to not handle the special case.

Convert all rcu_assign_pointer of NULL value.

//smpl
@@ expression P; @@

- rcu_assign_pointer(P, NULL)
+ RCU_INIT_POINTER(P, NULL)

// </smpl>

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-08-02 04:29:23 -07:00
..
auth_gss rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER 2011-08-02 04:29:23 -07:00
xprtrdma Merge branch 'nfs-for-3.1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs 2011-07-27 13:23:02 -07:00
Kconfig SUNRPC: sunrpc should not explicitly depend on NFS config options 2011-07-15 09:12:23 -04:00
Makefile SUNRPC: sunrpc should not explicitly depend on NFS config options 2011-07-15 09:12:23 -04:00
addr.c
auth.c net: Remove unnecessary semicolons 2011-06-05 14:33:39 -07:00
auth_generic.c
auth_null.c
auth_unix.c
backchannel_rqst.c SUNRPC: Convert the backchannel exports to EXPORT_SYMBOL_GPL 2011-07-15 09:12:23 -04:00
bc_svc.c SUNRPC: sunrpc should not explicitly depend on NFS config options 2011-07-15 09:12:23 -04:00
cache.c
clnt.c Merge branch 'master' into devel and apply fixup from Stephen Rothwell: 2011-07-25 14:53:52 -04:00
netns.h
rpc_pipe.c sunrpc: Reduce switch/case indent 2011-07-01 16:11:16 -07:00
rpcb_clnt.c SUNRPC: Fix use of static variable in rpcb_getport_async 2011-07-12 13:40:13 -04:00
sched.c SUNRPC: Allow caller of rpc_sleep_on() to select priority levels 2011-07-17 18:11:34 -04:00
socklib.c
stats.c
sunrpc.h
sunrpc_syms.c
svc.c SUNRPC: Convert the backchannel exports to EXPORT_SYMBOL_GPL 2011-07-15 09:12:23 -04:00
svc_xprt.c svcrpc: fix list-corrupting race on nfsd shutdown 2011-07-15 18:58:46 -04:00
svcauth.c
svcauth_unix.c svcauth_unix.c: quiet sparse noise 2011-07-15 18:58:44 -04:00
svcsock.c Merge branch 'nfs-for-3.1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs 2011-07-27 13:23:02 -07:00
sysctl.c
timer.c
xdr.c SUNRPC: Convert the backchannel exports to EXPORT_SYMBOL_GPL 2011-07-15 09:12:23 -04:00
xprt.c net: fix new sunrpc kernel-doc warning 2011-07-28 18:20:21 -07:00
xprtsock.c SUNRPC: Support dynamic slot allocation for TCP connections 2011-07-17 18:11:30 -04:00