SUNRPC: Add refcounting to the struct rpc_xprt
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 5 Sep 2006 16:55:57 +0000 (12:55 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:25:01 +0000 (23:25 -0400)
commit6b6ca86b77b62b798cf9ca2599036420abce7796
treecf631a3c293be45fa4bed54bca5dcbfc96a57df1
parentda45828e2835057045150b318c4fbe9bb91f18dd
SUNRPC: Add refcounting to the struct rpc_xprt

In a subsequent patch, this will allow the portmapper to take a reference
to the rpc_xprt for which it is updating the port number, fixing an Oops.

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