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/xprt.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/xprt.h')
-rw-r--r-- | include/linux/sunrpc/xprt.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index bc80fcfdd892..de4efea7c856 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h | |||
@@ -231,7 +231,6 @@ struct rpc_xprt { | |||
231 | /* | 231 | /* |
232 | * Transport operations used by ULPs | 232 | * Transport operations used by ULPs |
233 | */ | 233 | */ |
234 | struct rpc_xprt * xprt_create_proto(int proto, struct sockaddr_in *addr, struct rpc_timeout *to); | ||
235 | void xprt_set_timeout(struct rpc_timeout *to, unsigned int retr, unsigned long incr); | 234 | void xprt_set_timeout(struct rpc_timeout *to, unsigned int retr, unsigned long incr); |
236 | 235 | ||
237 | /* | 236 | /* |