]> err.no Git - linux-2.6/commit
NFS: eliminate NIPQUAD(clp->cl_addr.sin_addr)
authorChuck Lever <chuck.lever@oracle.com>
Mon, 10 Dec 2007 19:57:16 +0000 (14:57 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:52 +0000 (02:05 -0500)
commit5d8515caeb99940f5ed56d22a03aba20bbe7fdcb
treeb17ec1fc7bf34a73f65bf8c4b9f837beb54a64f9
parentd4d3c507493afd3c9d19fbe9762f44e790909dbe
NFS: eliminate NIPQUAD(clp->cl_addr.sin_addr)

To ensure the NFS client displays IPv6 addresses properly, replace
address family-specific NIPQUAD() invocations with a call to the RPC
client to get a formatted string representing the remote peer's
address.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c
fs/nfs/delegation.c
fs/nfs/nfs4state.c
fs/nfs/super.c