]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Pass a pointer to struct rpc_xprt to the connect callback
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 8 Jan 2013 14:26:49 +0000 (09:26 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 1 Feb 2013 15:13:47 +0000 (10:13 -0500)
commitc17605cee61ccf2d291faba1b51217b26562add3
tree4efc332b4648144fa055fa72f1867cbc2b30e756
parent00be3beab540ac940e1c2ec6af6e97cb68082b96
SUNRPC: Pass a pointer to struct rpc_xprt to the connect callback

Avoid another RCU dereference by passing the pointer to struct rpc_xprt
from the caller.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtsock.c