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-13098 ptlrpc: supress connection restored message
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
nodemap_lproc.c
diff --git
a/lustre/ptlrpc/nodemap_lproc.c
b/lustre/ptlrpc/nodemap_lproc.c
index
8167883
..
62a053f
100644
(file)
--- a/
lustre/ptlrpc/nodemap_lproc.c
+++ b/
lustre/ptlrpc/nodemap_lproc.c
@@
-286,7
+286,8
@@
nodemap_sepol_seq_write(struct file *file,
char sepol[LUSTRE_NODEMAP_SEPOL_LENGTH + 1];
int rc = 0;
char sepol[LUSTRE_NODEMAP_SEPOL_LENGTH + 1];
int rc = 0;
- CLASSERT(sizeof(sepol) == sizeof(((struct lu_nodemap *)0)->nm_sepol));
+ BUILD_BUG_ON(sizeof(sepol) !=
+ sizeof(((struct lu_nodemap *)0)->nm_sepol));
if (count > 0) {
if (count >= sizeof(sepol))
if (count > 0) {
if (count >= sizeof(sepol))