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
/
ptlrpc
/
nodemap_storage.c
diff --git
a/lustre/ptlrpc/nodemap_storage.c
b/lustre/ptlrpc/nodemap_storage.c
index
ea72c87
..
6951db0
100644
(file)
--- a/
lustre/ptlrpc/nodemap_storage.c
+++ b/
lustre/ptlrpc/nodemap_storage.c
@@
-249,7
+249,7
@@
static int nodemap_idx_insert(const struct lu_env *env,
struct dt_device *dev = lu2dt_dev(idx->do_lu.lo_dev);
int rc;
-
CLASSERT(sizeof(union nodemap_rec) =
= 32);
+
BUILD_BUG_ON(sizeof(union nodemap_rec) !
= 32);
th = dt_trans_create(env, dev);