diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-20 13:53:37 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-31 19:28:19 -0500 |
commit | 6eac7d3f45a2519283d38bf670cb6968230124f8 (patch) | |
tree | af5542a51d63d971d2fe1af95e27617dc4947104 /net/sunrpc/rpcb_clnt.c | |
parent | 4cb54ca2069903121e4c03ec427147c47bed5755 (diff) | |
download | linux-rpi3-6eac7d3f45a2519283d38bf670cb6968230124f8.tar.gz linux-rpi3-6eac7d3f45a2519283d38bf670cb6968230124f8.tar.bz2 linux-rpi3-6eac7d3f45a2519283d38bf670cb6968230124f8.zip |
SUNRPC: constify rpc_clnt fields cl_server and cl_protname
...and get rid of the superfluous cl_inline_name.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index 4ce3a8e02953..d3978017b25d 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c @@ -343,7 +343,7 @@ out: return result; } -static struct rpc_clnt *rpcb_create(struct net *net, char *hostname, +static struct rpc_clnt *rpcb_create(struct net *net, const char *hostname, struct sockaddr *srvaddr, size_t salen, int proto, u32 version) { |