From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> This patch removes the explict Demo-mode operation in tcm_qla2xxx_make_tpg() orginally added for testing + development purposes. Demo-mode operation is still available via the generate_node_acls attribute, but by default explict NodeACLs+MappedLUNs for FC Initiator WWPNs are required. Signed-off-by: Nicholas A. Bellinger <nab@xxxxxxxxxxxxxxxxxxxxx> --- drivers/target/tcm_qla2xxx/tcm_qla2xxx_configfs.c | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/drivers/target/tcm_qla2xxx/tcm_qla2xxx_configfs.c b/drivers/target/tcm_qla2xxx/tcm_qla2xxx_configfs.c index 991834d..ac970e1 100644 --- a/drivers/target/tcm_qla2xxx/tcm_qla2xxx_configfs.c +++ b/drivers/target/tcm_qla2xxx/tcm_qla2xxx_configfs.c @@ -390,12 +390,6 @@ static struct se_portal_group *tcm_qla2xxx_make_tpg( } tpg->lport = lport; tpg->lport_tpgt = tpgt; - /* - * By default allow READ-ONLY TPG demo-mode access w/ cached dynamic NodeACLs - */ - QLA_TPG_ATTRIB(tpg)->generate_node_acls = 1; - QLA_TPG_ATTRIB(tpg)->demo_mode_write_protect = 1; - QLA_TPG_ATTRIB(tpg)->cache_dynamic_acls = 1; ret = core_tpg_register(&tcm_qla2xxx_fabric_configfs->tf_ops, wwn, &tpg->se_tpg, (void *)tpg, -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html