SUNRPC: Move clnt->cl_server into struct rpc_xprt
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 1 Mar 2012 22:01:05 +0000 (17:01 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 2 Mar 2012 20:36:41 +0000 (15:36 -0500)
commit4e0038b6b246e4145fc4a53dca61a556d17bc52c
tree67055f0c5dca7a4a24b062b1320675ad468d7b69
parent2446ab6070861aba2dd9229463ffbc40016a9f33
SUNRPC: Move clnt->cl_server into struct rpc_xprt

When the cl_xprt field is updated, the cl_server field will also have
to change.  Since the contents of cl_server follow the remote endpoint
of cl_xprt, just move that field to the rpc_xprt.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
[ cel: simplify check_gss_callback_principal(), whitespace changes ]
[ cel: forward ported to 3.4 ]
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/callback.c
fs/nfs/nfs4proc.c
include/linux/sunrpc/clnt.h
include/linux/sunrpc/xprt.h
net/sunrpc/clnt.c
net/sunrpc/rpc_pipe.c
net/sunrpc/rpcb_clnt.c
net/sunrpc/xprt.c