crm_debug("Result: %s", op->output);
do_lrm_event(long long action,	     enum crmd_fsa_cause cause,	     enum crmd_fsa_state cur_state,	     enum crmd_fsa_input cur_input,	     fsa_data_t *msg_data){	lrm_op_t* op = NULL;	lrm_rsc_t* rsc = NULL;		if(msg_data->fsa_cause != C_LRM_OP_CALLBACK) {		register_fsa_error(C_FSA_INTERNAL, I_FAIL, NULL);		return I_NULL;	}	op = fsa_typed_data(fsa_dt_lrm);		CRM_DEV_ASSERT(op != NULL);	CRM_DEV_ASSERT(op != NULL && op->rsc != NULL);	if(op == NULL || op->rsc == NULL) {		return I_NULL;	}	rsc = op->rsc;	if(op->op_status == LRM_OP_DONE && op->rc != EXECRA_OK) {		crm_warn("Mapping operation %d status with a rc=%d"			 " to status %d",			 op->op_status, op->rc, LRM_OP_ERROR);		op->op_status = LRM_OP_ERROR;	}		switch(op->op_status) {		case LRM_OP_ERROR:			crm_warn("LRM operation %s/%s failed (%s)",				 crm_str(rsc->id), op->op_type,				 execra_code2string(op->rc));			break;		case LRM_OP_CANCELLED:			crm_warn("LRM operation %s/%s was cancelled",				crm_str(rsc->id), op->op_type);			break;		case LRM_OP_TIMEOUT:			crm_err("LRM operation %s/%s timed out",				crm_str(rsc->id), op->op_type);			break;		case LRM_OP_NOTSUPPORTED:			crm_err("LRM operation %s/%s was not suported",				crm_str(rsc->id), op->op_type);			break;		case LRM_OP_DONE:			crm_debug("LRM operation %s/%s passed",				crm_str(rsc->id), op->op_type);			break;	}	do_update_resource(rsc, op);	return I_NULL;}