diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-10-03 12:50:29 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-10-03 17:02:35 -0400 |
commit | 6bfbe8af4674458e6d88aef8f0136bd1b8855b11 (patch) | |
tree | b8305ece04cebae733d619a77c3ff8fdee55e4a2 /include | |
parent | d7d204403b31beb83b1aefef7bd76f5209369555 (diff) | |
download | linux-stable-6bfbe8af4674458e6d88aef8f0136bd1b8855b11.tar.gz linux-stable-6bfbe8af4674458e6d88aef8f0136bd1b8855b11.tar.bz2 linux-stable-6bfbe8af4674458e6d88aef8f0136bd1b8855b11.zip |
lockd: Adjust nlmsvc_lookup_host() to accomodate AF_INET6 addresses
Fix up nlmsvc_lookup_host() to pass AF_INET6 source addresses to
nlm_lookup_host().
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/lockd/lockd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h index 90a996d2f005..16ff2e88f05d 100644 --- a/include/linux/lockd/lockd.h +++ b/include/linux/lockd/lockd.h @@ -220,8 +220,9 @@ struct nlm_host *nlmclnt_lookup_host(const struct sockaddr *sap, const unsigned short protocol, const u32 version, const char *hostname); -struct nlm_host *nlmsvc_lookup_host(struct svc_rqst *, const char *, - unsigned int); +struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp, + const char *hostname, + const size_t hostname_len); struct rpc_clnt * nlm_bind_host(struct nlm_host *); void nlm_rebind_host(struct nlm_host *); struct nlm_host * nlm_get_host(struct nlm_host *); |