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)
commitd7d204403b31beb83b1aefef7bd76f5209369555
tree70d63b581d4987fb12cc455f741bf21a55a7a8c3
parent88541c848746442ddff45dea05ddea6b734d88b5
lockd: Adjust nlmclnt_lookup_host() signature to accomodate non-AF_INET

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>
fs/lockd/clntlock.c
fs/lockd/host.c
include/linux/lockd/lockd.h