Whamcloud - gitweb
LU-13004 ptlrpc: Allow BULK_BUF_KIOV to accept a kvec
[fs/lustre-release.git] / lustre / ptlrpc / nodemap_handler.c
index 0443c3b..6cea792 100644 (file)
@@ -994,7 +994,7 @@ static int nodemap_validate_sepol(const char *sepol)
        unsigned char mode;
        unsigned short ver;
 
-       CLASSERT(sizeof(buf) == sizeof(((struct lu_nodemap *)0)->nm_sepol));
+       BUILD_BUG_ON(sizeof(buf) != sizeof(((struct lu_nodemap *)0)->nm_sepol));
 
        if (sepol == NULL)
                return -EINVAL;