X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fptlrpc%2Fnodemap_lproc.c;h=62a053f9c3e0d9053e7b07db93acee537e408780;hb=7aa58847b94d0ebb2796774a2de2183ba7f8cc4b;hp=81678836a28c25ddd1bdca6f5ee31e191f72b505;hpb=bb0a1075285076567bf9c3c406116682f0997579;p=fs%2Flustre-release.git diff --git a/lustre/ptlrpc/nodemap_lproc.c b/lustre/ptlrpc/nodemap_lproc.c index 8167883..62a053f 100644 --- 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; - 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))