SUNRPC: Make address format buffers more generic
authorChuck Lever <chuck.lever@oracle.com>
Tue, 5 Dec 2006 21:35:37 +0000 (16:35 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 6 Dec 2006 15:46:51 +0000 (10:46 -0500)
commit7559c7a28fbcaa0bca028eeebd5f251b09befe6b
tree5cbf7df3f966243261e1923641618fd813126734
parent314dfd7987c71d7ba0c43ac3bf3d243c102ce025
SUNRPC: Make address format buffers more generic

For now we will assume that all transports will use the address format
buffers in the rpc_xprt struct to store their addresses.  Change
rpc_peer2str() to be a generic routine to handle this, and get rid of the
print_address() op in the rpc_xprt_ops vector.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/xprt.h
net/sunrpc/clnt.c
net/sunrpc/xprtsock.c