]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
SUNRPC: add xprt switch API for printing formatted remote peer addresses
authorChuck Lever <chuck.lever@oracle.com>
Wed, 23 Aug 2006 00:06:18 +0000 (20:06 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:24:47 +0000 (23:24 -0400)
commitedb267a688fcee5335d596752f117a30c7152e44
treeb73a91f17f22baa81a3c0a4df1b01929680a2807
parent39d7bbcb5ba5e9d8d658b70903dd7939400e57db
SUNRPC: add xprt switch API for printing formatted remote peer addresses

Add a new method to the transport switch API to provide a way to convert
the opaque contents of xprt->addr to a human-readable string.

Test plan:
Compile kernel with CONFIG_NFS enabled.

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/xprtsock.c