Whamcloud - gitweb
LU-12923 libcfs: Use BUILD_BUG_ON() for hash.c
[fs/lustre-release.git] / libcfs / libcfs / hash.c
index 9fee65e..55a61fd 100644 (file)
@@ -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);