sunrpc: add routine for comparing addresses
[linux-2.6-block.git] / fs / lockd / svcsubs.c
index 9e4d6aab611b829a22640e7bcdbcbecfc6ee5c45..ad478da7ca63138e6dda728ed6640c4630c5e02e 100644 (file)
@@ -417,7 +417,7 @@ EXPORT_SYMBOL_GPL(nlmsvc_unlock_all_by_sb);
 static int
 nlmsvc_match_ip(void *datap, struct nlm_host *host)
 {
-       return nlm_cmp_addr(nlm_srcaddr(host), datap);
+       return rpc_cmp_addr(nlm_srcaddr(host), datap);
 }
 
 /**