diff options
author | \"Talpey, Thomas\ <Thomas.Talpey@netapp.com> | 2007-09-10 13:47:57 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-09 17:17:50 -0400 |
commit | 4fa016eb248cac875541fa199af550a8aefa0e90 (patch) | |
tree | 2a8aad2ebc1a05174d0eacaceb671bca6b24850c /net/sunrpc/clnt.c | |
parent | 49c36fcc441baf6a4d698e3645d1adf28edaf57b (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index e86958c61a20..6cdf53c489b7 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) | |||
241 | struct rpc_xprt *xprt; | 241 | struct rpc_xprt *xprt; |
242 | struct rpc_clnt *clnt; | 242 | struct rpc_clnt *clnt; |
243 | struct xprt_create xprtargs = { | 243 | struct xprt_create xprtargs = { |
244 | .proto = args->protocol, | 244 | .ident = args->protocol, |
245 | .srcaddr = args->saddress, | 245 | .srcaddr = args->saddress, |
246 | .dstaddr = args->address, | 246 | .dstaddr = args->address, |
247 | .addrlen = args->addrsize, | 247 | .addrlen = args->addrsize, |