rpc: allow xprt_class->setup to return a preexisting xprt
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 8 Dec 2010 18:48:19 +0000 (13:48 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 11 Jan 2011 20:04:10 +0000 (15:04 -0500)
commitf0418aa4b1103f959d64dc18273efa04ee0140e9
tree01457cfe70d614dcdb12759247212602c2c2c008
parent99de8ea962bbc11a51ad4c52e3dc93bee5f6ba70
rpc: allow xprt_class->setup to return a preexisting xprt

This allows us to reuse the xprt associated with a server connection if
one has already been set up.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c