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
/
osc
/
osc_quota.c
diff --git
a/lustre/osc/osc_quota.c
b/lustre/osc/osc_quota.c
index
e1606c5
..
36af9d7
100644
(file)
--- a/
lustre/osc/osc_quota.c
+++ b/
lustre/osc/osc_quota.c
@@
-177,7
+177,7
@@
out_unlock:
static unsigned
oqi_hashfn(struct cfs_hash *hs, const void *key, unsigned mask)
{
- return cfs_hash_
u32_hash(*((__u32*)key), mask)
;
+ return cfs_hash_
32(*((__u32 *)key), 0) & mask
;
}
static int