aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-10-03 12:50:29 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-10-03 17:02:35 -0400
commit6bfbe8af4674458e6d88aef8f0136bd1b8855b11 (patch)
treeb8305ece04cebae733d619a77c3ff8fdee55e4a2 /include
parentd7d204403b31beb83b1aefef7bd76f5209369555 (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')
-rw-r--r--include/linux/lockd/lockd.h5
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);
223struct nlm_host *nlmsvc_lookup_host(struct svc_rqst *, const char *, 223struct nlm_host *nlmsvc_lookup_host(const struct svc_rqst *rqstp,
224 unsigned int); 224 const char *hostname,
225 const size_t hostname_len);
225struct rpc_clnt * nlm_bind_host(struct nlm_host *); 226struct rpc_clnt * nlm_bind_host(struct nlm_host *);
226void nlm_rebind_host(struct nlm_host *); 227void nlm_rebind_host(struct nlm_host *);
227struct nlm_host * nlm_get_host(struct nlm_host *); 228struct nlm_host * nlm_get_host(struct nlm_host *);