]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
SUNRPC: Remove rpc_clnt->cl_count
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 14 Jun 2007 20:40:32 +0000 (16:40 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:29 +0000 (23:40 -0400)
commit4c402b40970382ded616eadd544fd63feb76cc79
treeddff43479ae51f0ba5af566b09e0188563aab17b
parent8ad7c892e18ff8e6df422eb48ca0f73268ffd632
SUNRPC: Remove rpc_clnt->cl_count

The kref now does most of what cl_count + cl_user used to do. The only
remaining role for cl_count is to tell us if we are in a 'shutdown'
phase. We can provide that information using a single bit field instead
of a full atomic counter.

Also rename rpc_destroy_client() to rpc_close_client(), which reflects
better what its role is these days.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c
net/sunrpc/rpcb_clnt.c
net/sunrpc/sunrpc_syms.c