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-12923 libcfs: Use BUILD_BUG_ON() for hash.c
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
hash.c
diff --git
a/libcfs/libcfs/hash.c
b/libcfs/libcfs/hash.c
index
9fee65e
..
55a61fd
100644
(file)
--- a/
libcfs/libcfs/hash.c
+++ b/
libcfs/libcfs/hash.c
@@
-1040,7
+1040,7
@@
cfs_hash_create(char *name, unsigned cur_bits, unsigned max_bits,
ENTRY;
-
CLASSERT(CFS_HASH_THETA_BITS <
15);
+
BUILD_BUG_ON(CFS_HASH_THETA_BITS >=
15);
LASSERT(name != NULL);
LASSERT(ops != NULL);