Whamcloud - gitweb
LU-16518 misc: use fixed hash code
[fs/lustre-release.git] / lnet / lnet / lib-ptl.c
index 40f7214..df065e2 100644 (file)
@@ -365,7 +365,7 @@ lnet_mt_match_head(struct lnet_match_table *mtable,
                unsigned long hash = mbits + nidhash(&id->nid) + id->pid;
 
                LASSERT(lnet_ptl_is_unique(ptl));
-               hash = hash_long(hash, LNET_MT_HASH_BITS);
+               hash = cfs_hash_long(hash, LNET_MT_HASH_BITS);
                return &mtable->mt_mhash[hash & LNET_MT_HASH_MASK];
        }
 }