SUNRPC: use rpcbind reference counting helpers
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Tue, 25 Oct 2011 11:16:48 +0000 (14:16 +0300)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 25 Oct 2011 11:16:36 +0000 (13:16 +0200)
commit253fb070e78db981740b000914b04b9203092925
treeaff50b20e91767f352b973132a8b5335aae3e3ca
parent914edb1bb2abe2ae4775368f2ffb7f41010fb81e
SUNRPC: use rpcbind reference counting helpers

All is simple: we just increase users counter if rpcbind clients has been
created already. Otherwise we create them and set users counter to 1.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpcb_clnt.c