[Libvirt-cim] [PATCH 07 of 11] RAFP: fix stale issue with threads

Heidi Eckhart heidieck at linux.vnet.ibm.com
Tue Feb 5 10:14:06 UTC 2008


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1202208797 -3600
# Node ID c49e722599eee4b1fb6296b1da6e64c0d879d829
# Parent  639072fe628db4eb506e9af1d47cb0e90d5291ad
RAFP: fix stale issue with threads
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r 639072fe628d -r c49e722599ee src/Virt_ResourceAllocationFromPool.c
--- a/src/Virt_ResourceAllocationFromPool.c	Tue Feb 05 11:53:16 2008 +0100
+++ b/src/Virt_ResourceAllocationFromPool.c	Tue Feb 05 11:53:17 2008 +0100
@@ -245,7 +245,7 @@ static CMPIStatus pool_to_rasd(const CMP
 
 LIBVIRT_CIM_DEFAULT_MAKEREF()
 
-char* antecedent[] = {
+static char* antecedent[] = {
         "Xen_ProcessorPool",
         "Xen_MemoryPool",
         "Xen_NetworkPool",
@@ -257,7 +257,7 @@ char* antecedent[] = {
         NULL
 };
 
-char* dependent[] = {
+static char* dependent[] = {
         "Xen_DiskResourceAllocationSettingData",
         "Xen_MemResourceAllocationSettingData",
         "Xen_NetResourceAllocationSettingData",
@@ -269,7 +269,7 @@ char* dependent[] = {
         NULL
 };
 
-char* assoc_classname[] = {
+static char* assoc_classname[] = {
         "Xen_ResourceAllocationFromPool",
         "KVM_ResourceAllocationFromPool",        
         NULL




More information about the Libvirt-cim mailing list