Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-16518 misc: use fixed hash code
[fs/lustre-release.git]
/
lustre
/
ldlm
/
ldlm_flock.c
diff --git
a/lustre/ldlm/ldlm_flock.c
b/lustre/ldlm/ldlm_flock.c
index
770cf94
..
d7572a2
100644
(file)
--- a/
lustre/ldlm/ldlm_flock.c
+++ b/
lustre/ldlm/ldlm_flock.c
@@
-853,7
+853,7
@@
void ldlm_flock_policy_local_to_wire(const union ldlm_policy_data *lpolicy,
static unsigned
ldlm_export_flock_hash(struct cfs_hash *hs, const void *key, unsigned mask)
{
- return cfs_hash_
u64_hash(*(__u64 *)key, mask)
;
+ return cfs_hash_
64(*(__u64 *)key, 0) & mask
;
}
static void *