diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2006-08-22 20:06:21 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-09-22 23:24:51 -0400 |
commit | ff9aa5e56df60cc8565a93cc868fe25ae3f20e49 (patch) | |
tree | ae1045652699feacd18aecbc7023edd430c2695e /include/linux/sunrpc/clnt.h | |
parent | 9e1968c58d72c4b85d8a69bda1e194f9701fb224 (diff) |
SUNRPC: Eliminate xprt_create_proto and rpc_create_client
The two function call API for creating a new RPC client is now obsolete.
Remove it.
Also, remove an unnecessary check to see whether the caller is capable of
using privileged network services. The kernel RPC client always uses a
privileged ephemeral port by default; callers are responsible for checking
the authority of users to make use of any RPC service, or for specifying
that a nonprivileged port is acceptable.
Test plan:
Repeated runs of Connectathon locking suite. Check network trace to ensure
correctness of NLM requests and replies.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/clnt.h')
-rw-r--r-- | include/linux/sunrpc/clnt.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index 7817ba82f1b2..f6d1d646ce05 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h | |||
@@ -91,13 +91,6 @@ struct rpc_procinfo { | |||
91 | 91 | ||
92 | #ifdef __KERNEL__ | 92 | #ifdef __KERNEL__ |
93 | 93 | ||
94 | struct rpc_clnt *rpc_create_client(struct rpc_xprt *xprt, char *servname, | ||
95 | struct rpc_program *info, | ||
96 | u32 version, rpc_authflavor_t authflavor); | ||
97 | struct rpc_clnt *rpc_new_client(struct rpc_xprt *xprt, char *servname, | ||
98 | struct rpc_program *info, | ||
99 | u32 version, rpc_authflavor_t authflavor); | ||
100 | |||
101 | struct rpc_create_args { | 94 | struct rpc_create_args { |
102 | int protocol; | 95 | int protocol; |
103 | struct sockaddr *address; | 96 | struct sockaddr *address; |