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/linux/lockd/lockd.h | |
parent | d7d204403b31beb83b1aefef7bd76f5209369555 (diff) |
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/linux/lockd/lockd.h')
-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, | |||
220 | const unsigned short protocol, | 220 | const unsigned short protocol, |
221 | const u32 version, | 221 | const u32 version, |
222 | const char *hostname); | 222 | const char *hostname); |
223 | struct nlm_host *nlmsvc_lookup_host(struct svc_rqst *, const char *, | 223 | struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp, |
224 | unsigned int); | 224 | const char *hostname, |
225 | const size_t hostname_len); | ||
225 | struct rpc_clnt * nlm_bind_host(struct nlm_host *); | 226 | struct rpc_clnt * nlm_bind_host(struct nlm_host *); |
226 | void nlm_rebind_host(struct nlm_host *); | 227 | void nlm_rebind_host(struct nlm_host *); |
227 | struct nlm_host * nlm_get_host(struct nlm_host *); | 228 | struct nlm_host * nlm_get_host(struct nlm_host *); |