]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: rpcb_getport_sync() should use built-in hostname generator
authorChuck Lever <chuck.lever@oracle.com>
Mon, 14 Jan 2008 20:11:46 +0000 (15:11 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:06:09 +0000 (02:06 -0500)
commitace985be2724ba79c8dec9ef291976cd0872115c
tree0438cbd52b64b7396e3ff852e0661b06b65bbb67
parent01a72f2fa4a0d9d22630dcb386778a33a19407fe
SUNRPC: rpcb_getport_sync() should use built-in hostname generator

rpc_create() can already fill in the hostname with a string representation
of the server's IP address, so remove redundant logic in in
rpcb_getport_sync() that does that.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpcb_clnt.c