]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/lockd/lockd.h
lockd: Adjust nlmclnt_lookup_host() signature to accomodate non-AF_INET
[linux-2.6-omap-h63xx.git] / include / linux / lockd / lockd.h
index 973ab1d6e862a8b9e273fd6d62d76d8226a6c7cf..90a996d2f005671f08e45ac003d99c179fdbca24 100644 (file)
@@ -215,10 +215,11 @@ void                nlmclnt_next_cookie(struct nlm_cookie *);
 /*
  * Host cache
  */
-struct nlm_host  *nlmclnt_lookup_host(const struct sockaddr_in *sin,
-                                       int proto, u32 version,
-                                       const char *hostname,
-                                       unsigned int hostname_len);
+struct nlm_host  *nlmclnt_lookup_host(const struct sockaddr *sap,
+                                       const size_t salen,
+                                       const unsigned short protocol,
+                                       const u32 version,
+                                       const char *hostname);
 struct nlm_host  *nlmsvc_lookup_host(struct svc_rqst *, const char *,
                                        unsigned int);
 struct rpc_clnt * nlm_bind_host(struct nlm_host *);