update_node_weight(rsc_to_node_t *cons, char *id, GSListPtr nodes)
update_node_weight(rsc_to_node_t *cons, char *id, GListPtr nodes)
update_node_weight(rsc_to_node_t *cons, char *id, GSListPtr nodes){	node_t *node_rh = pe_find_node(cons->rsc_lh->allowed_nodes, id);	if(node_rh == NULL) {		node_t *node_tmp = pe_find_node(nodes, id);		node_rh = node_copy(node_tmp);		cons->rsc_lh->allowed_nodes =			g_slist_append(cons->rsc_lh->allowed_nodes,				       node_rh);	}	if(node_rh == NULL) {		// error		return FALSE;	}	if(node_rh->fixed) {		// warning		crm_warn("Constraint %s is irrelevant as the"			 " weight of node %s is fixed as %f.",			 cons->id,			 node_rh->details->id,			 node_rh->weight);		return TRUE;	}		crm_verbose("Constraint %s: node %s weight %s %f.",		      cons->id,		      node_rh->details->id,		      modifier2text(cons->modifier),		      node_rh->weight);		switch(cons->modifier) {		case set:			node_rh->weight = cons->weight;			node_rh->fixed = TRUE;			break;		case inc:			node_rh->weight += cons->weight;			break;		case dec:			node_rh->weight -= cons->weight;			break;		case modifier_none:			// warning			break;	}	return TRUE;}