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
b=15134
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_lite.h
diff --git
a/lustre/include/lustre_lite.h
b/lustre/include/lustre_lite.h
index
9fab984
..
f0c6495
100644
(file)
--- a/
lustre/include/lustre_lite.h
+++ b/
lustre/include/lustre_lite.h
@@
-145,8
+145,8
@@
static inline void ll_dir_chain_fini(struct ll_dir_chain *chain)
{
}
-static inline
__u32 hash_x_index(__u32
value)
+static inline
unsigned long hash_x_index(unsigned long
value)
{
- return
((__u32)~0)
- value;
+ return
~0UL
- value;
}
#endif