]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Eliminate xprt_create_proto and rpc_create_client
authorChuck Lever <chuck.lever@oracle.com>
Wed, 23 Aug 2006 00:06:21 +0000 (20:06 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:24:51 +0000 (23:24 -0400)
commitcfb38a7e9af2669625bf0f935c0dcda0e0e54f0d
treeae1045652699feacd18aecbc7023edd430c2695e
parent46b2a4f835be908a83a76ebe215c3340963629fa
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>
include/linux/sunrpc/clnt.h
include/linux/sunrpc/xprt.h
net/sunrpc/clnt.c
net/sunrpc/sunrpc_syms.c
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c