|| is_set(fsa_input_register, R_PE_CONNECTED) == FALSE) {
|| is_set(fsa_input_register, R_PE_CONNECTED) == FALSE || fsa_state != S_POLICY_ENGINE) {
do_pe_invoke_callback(const HA_Message *msg, int call_id, int rc,		      crm_data_t *output, void *user_data){	HA_Message *cmd = NULL;	gboolean cib_has_quorum = FALSE;	crm_data_t *local_cib = find_xml_node(output, XML_TAG_CIB, TRUE);	if(AM_I_DC == FALSE	   || is_set(fsa_input_register, R_PE_CONNECTED) == FALSE) {		crm_debug("No need to invoke the PE anymore");		return;	}	crm_verbose("Invoking %s with %p", CRM_SYSTEM_PENGINE, local_cib);	CRM_DEV_ASSERT(local_cib != NULL);	CRM_DEV_ASSERT(crm_element_value(local_cib, XML_ATTR_DC_UUID) != NULL);	cib_has_quorum = crm_is_true(crm_element_value(local_cib, XML_ATTR_HAVE_QUORUM));	if(ccm_have_quorum(fsa_membership_copy->last_event) == cib_has_quorum) {		crm_debug("CRM and CIB agree on quorum state: quorum=%s",			  cib_has_quorum?"true":"false");			} else {		crm_err("CRM and CIB disagree on quorum state: cib=%s, crm=%s",			cib_has_quorum?"true":"false",			ccm_have_quorum(fsa_membership_copy->last_event)?"true":"false");	}		if(fsa_pe_ref) {		crm_free(fsa_pe_ref);		fsa_pe_ref = NULL;	}	cmd = create_request(		CRM_OP_PECALC, local_cib, NULL,		CRM_SYSTEM_PENGINE, CRM_SYSTEM_DC, NULL);	send_request(cmd, &fsa_pe_ref);}