SUNRPC: Add a convenient default for the hostname when calling rpc_create()
commit43780b87fa799ae65df11d89d4539d8d6a7c67eb
authorChuck Lever <chuck.lever@oracle.com>
Sun, 1 Jul 2007 16:13:22 +0000 (1 12:13 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Jul 2007 03:40:46 +0000 (10 23:40 -0400)
tree46fce452807c8672af77666bb03cab5ff4191e94
parent45160d6275814e0c86206e6981f0b92c61a50a21
SUNRPC: Add a convenient default for the hostname when calling rpc_create()

A couple of callers just use a stringified IP address for the rpc client's
hostname.  Move the logic for constructing this into rpc_create(), so it can
be shared.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/mount_clnt.c
fs/nfsd/nfs4callback.c
net/sunrpc/clnt.c