aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/clnt.c
diff options
context:
space:
mode:
author\"Talpey, Thomas\ <Thomas.Talpey@netapp.com>2007-09-10 13:47:57 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-10-09 17:17:50 -0400
commit4fa016eb248cac875541fa199af550a8aefa0e90 (patch)
tree2a8aad2ebc1a05174d0eacaceb671bca6b24850c /net/sunrpc/clnt.c
parent49c36fcc441baf6a4d698e3645d1adf28edaf57b (diff)
downloadkernel_samsung_espresso10-4fa016eb248cac875541fa199af550a8aefa0e90.zip
kernel_samsung_espresso10-4fa016eb248cac875541fa199af550a8aefa0e90.tar.gz
kernel_samsung_espresso10-4fa016eb248cac875541fa199af550a8aefa0e90.tar.bz2
NFS/SUNRPC: support transport protocol naming
To prepare for including non-sockets-based RPC transports, select RPC transports by an identifier (to be used in following patches). Signed-off-by: Tom Talpey <tmt@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r--net/sunrpc/clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index e86958c..6cdf53c 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -241,7 +241,7 @@ struct rpc_clnt *rpc_create(struct rpc_create_args *args)
struct rpc_xprt *xprt;
struct rpc_clnt *clnt;
struct xprt_create xprtargs = {
- .proto = args->protocol,
+ .ident = args->protocol,
.srcaddr = args->saddress,
.dstaddr = args->address,
.addrlen = args->addrsize,