lockd: Adjust nlmclnt_lookup_host() signature to accomodate non-AF_INET
authorChuck Lever <chuck.lever@oracle.com>
Fri, 3 Oct 2008 16:50:21 +0000 (12:50 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 3 Oct 2008 21:02:34 +0000 (17:02 -0400)
Pass a struct sockaddr * and a length to nlmclnt_lookup_host() to
accomodate non-AF_INET family addresses.

As a side benefit, eliminate the hostname_len argument, as the hostname
is always NUL-terminated.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

No differences found