Whamcloud - gitweb
LU-12275 sec: control client side encryption
[fs/lustre-release.git] / lustre / mgs / mgs_handler.c
index 5427e12..e314fa9 100644 (file)
@@ -854,6 +854,7 @@ static int mgs_iocontrol_nodemap(const struct lu_env *env,
        case LCFG_NODEMAP_SQUASH_GID:
        case LCFG_NODEMAP_MAP_MODE:
        case LCFG_NODEMAP_AUDIT_MODE:
+       case LCFG_NODEMAP_FORBID_ENCRYPT:
                if (lcfg->lcfg_bufcount != 4)
                        GOTO(out_lcfg, rc = -EINVAL);
                nodemap_name = lustre_cfg_string(lcfg, 1);