SUNRPC: svc_setup_socket() gets protocol family from socket
authorChuck Lever <chuck.lever@oracle.com>
Thu, 19 Mar 2009 00:46:13 +0000 (20:46 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 28 Mar 2009 19:54:23 +0000 (15:54 -0400)
commitbaf01caf09e87579c2d157e5ee29975db8551522
treee7ab4f9eb5b8c2d158a2a330e935cfd8be9e356a
parent4b62e58cccff9c5e7ffc7023f7ec24c75fbd549b
SUNRPC: svc_setup_socket() gets protocol family from socket

Since the sv_family field is going away, modify svc_setup_socket() to
extract the protocol family from the passed-in socket instead of from
the passed-in svc_serv struct.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/svcsock.c