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 lustre: Replace CLASSERT() with BUILD_BUG_ON()
[fs/lustre-release.git]
/
lustre
/
include
/
lu_object.h
diff --git
a/lustre/include/lu_object.h
b/lustre/include/lu_object.h
index
80fa26f
..
6b7f495
100644
(file)
--- a/
lustre/include/lu_object.h
+++ b/
lustre/include/lu_object.h
@@
-1116,7
+1116,7
@@
struct lu_context_key {
{ \
type *value; \
\
-
CLASSERT(PAGE_SIZE >= sizeof(*value));
\
+
BUILD_BUG_ON(PAGE_SIZE < sizeof(*value));
\
\
OBD_ALLOC_PTR(value); \
if (value == NULL) \