]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/lockd/svcsubs.c
lockd: Use sockaddr_storage for h_saddr field
[linux-2.6-omap-h63xx.git] / fs / lockd / svcsubs.c
index 198b4e55b3732523fbe569cfd927948c3ee70cb0..d3d1330d7c2727a1baf2bd7207b50f264ee1698b 100644 (file)
@@ -418,7 +418,7 @@ EXPORT_SYMBOL_GPL(nlmsvc_unlock_all_by_sb);
 static int
 nlmsvc_match_ip(void *datap, struct nlm_host *host)
 {
-       return nlm_cmp_addr(&host->h_saddr, datap);
+       return nlm_cmp_addr(nlm_srcaddr_in(host), datap);
 }
 
 /**