order_stop_stop(incarnation_data->self, last,
order_stop_stop(clone_data->self, last,
child_stopping_constraints(	incarnation_variant_data_t *incarnation_data, enum pe_ordering type,	resource_t *child, resource_t *last, pe_working_set_t *data_set){	if(incarnation_data->ordered	   || incarnation_data->self->restart_type == pe_restart_restart) {		type = pe_ordering_manditory;	}		if(child == NULL) {		if(incarnation_data->ordered && last != NULL) {			crm_debug_4("Ordered version (last node)");			/* global stop before first child stop */			order_stop_stop(incarnation_data->self, last,					pe_ordering_manditory);		}			} else if(incarnation_data->ordered && last != NULL) {		crm_debug_4("Ordered version");		/* child/child relative stop */		order_stop_stop(child, last, type);	} else if(incarnation_data->ordered) {		crm_debug_4("Ordered version (1st node)");		/* first child stop before global stopped */		custom_action_order(			child, stop_key(child), NULL,			incarnation_data->self, stopped_key(incarnation_data->self), NULL,			type, data_set);	} else {		crm_debug_4("Un-ordered version");		/* child stop before global stopped */		custom_action_order(			child, stop_key(child), NULL,			incarnation_data->self, stopped_key(incarnation_data->self), NULL,			type, data_set);                        		/* global stop before child stop */		order_stop_stop(incarnation_data->self, child, type);	}}