SUNRPC: eliminate rpc_call()
authorChuck Lever <cel@netapp.com>
Mon, 20 Mar 2006 18:44:23 +0000 (13:44 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 20 Mar 2006 18:44:23 +0000 (13:44 -0500)
commitdead28da8e3fb32601d38fb32b7021122e0a3d21
treea1a23e27e08345c86ed0d9812f848470b615eb34
parentcc0175c1dc1de8f6af0eb0631dcc5b999a6fcc42
SUNRPC: eliminate rpc_call()

Clean-up: replace rpc_call() helper with direct call to rpc_call_sync.

This makes NFSv2 and NFSv3 synchronous calls more computationally
efficient, and reduces stack consumption in functions that used to
invoke rpc_call more than once.

Test plan:
Compile kernel with CONFIG_NFS enabled.  Connectathon on NFS version 2,
version 3, and version 4 mount points.

Signed-off-by: Chuck Lever <cel@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/mon.c
fs/nfs/mount_clnt.c
fs/nfs/nfs3acl.c
fs/nfs/nfs3proc.c
fs/nfs/proc.c
include/linux/sunrpc/clnt.h
include/linux/sunrpc/sched.h
net/sunrpc/pmap_clnt.c