nfsd4.1: fix session memory use calculation
[safe/jmp/linux-2.6] / fs / lockd / svcsubs.c
index 9e4d6aa..ad478da 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);
 }
 
 /**