sunrpc: add routine for comparing addresses
[linux-2.6-block.git] / fs / lockd / mon.c
index 30c933188dd79567ad234d4089d452f60ce03b42..f956651d0f651a66a00d4bb9a1d05febf761d524 100644 (file)
@@ -209,7 +209,7 @@ static struct nsm_handle *nsm_lookup_addr(const struct sockaddr *sap)
        struct nsm_handle *nsm;
 
        list_for_each_entry(nsm, &nsm_handles, sm_link)
-               if (nlm_cmp_addr(nsm_addr(nsm), sap))
+               if (rpc_cmp_addr(nsm_addr(nsm), sap))
                        return nsm;
        return NULL;
 }