Update pacemaker-colocated-utilization.patch to fix build

OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=131
This commit is contained in:
Yan Gao 2014-05-05 10:01:46 +00:00 committed by Git OBS Bridge
parent 3b1daef8d4
commit f1a03b21e8

View File

@ -84,8 +84,12 @@ Index: pacemaker/pengine/native.c
gboolean is_enough;
};
@@ -95,27 +95,119 @@ check_capacity(gpointer key, gpointer va
CRM_ASSERT(data->rsc);
@@ -95,30 +95,122 @@ check_capacity(gpointer key, gpointer va
remaining = crm_parse_int(g_hash_table_lookup(data->node->details->utilization, key), "0");
if (required > remaining) {
- CRM_ASSERT(data->rsc);
+ CRM_ASSERT(data->rsc_id);
CRM_ASSERT(data->node);
- pe_rsc_debug(data->rsc,