lockd: Support non-AF_INET addresses in nlm_lookup_host()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 3 Oct 2008 16:50:14 +0000 (12:50 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 3 Oct 2008 21:01:57 +0000 (17:01 -0400)
commit88541c848746442ddff45dea05ddea6b734d88b5
treedc95e178de34df8cc2b3e65e9850993c3625c3f1
parent7f1ed18bd3aa1e8008cf5cc768a141787633da18
lockd: Support non-AF_INET addresses in nlm_lookup_host()

Use struct sockaddr * and length in nlm_lookup_host_info to all callers
to pass in either AF_INET or AF_INET6 addresses.

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