Whamcloud - gitweb
LU-13411 llog: allow delete of zero size llog
[fs/lustre-release.git] / lustre / ptlrpc / nodemap_lproc.c
index f8d964d..62a053f 100644 (file)
@@ -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))
@@ -748,6 +749,10 @@ static struct lprocfs_vars lprocfs_default_nodemap_vars[] = {
                .fops           = &nodemap_admin_fops,
        },
        {
+               .name           = "deny_unknown",
+               .fops           = &nodemap_deny_unknown_fops,
+       },
+       {
                .name           = "squash_uid",
                .fops           = &nodemap_squash_uid_fops,
        },