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

Heidi Eckhart heidieck at linux.vnet.ibm.com
Tue Feb 5 09:03:31 UTC 2008


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1202205753 -3600
# Node ID cc4749ebb05274873ed204c8263bfbc57af4f037
# Parent  fb21f67bf6294c49b620bc39e6329d9e712dc967
VSSDC: fix stale issue with threads
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r fb21f67bf629 -r cc4749ebb052 src/Virt_VSSDComponent.c
--- a/src/Virt_VSSDComponent.c	Tue Feb 05 11:02:19 2008 +0100
+++ b/src/Virt_VSSDComponent.c	Tue Feb 05 11:02:33 2008 +0100
@@ -154,13 +154,13 @@ static CMPIStatus rasd_to_vssd(const CMP
 
 LIBVIRT_CIM_DEFAULT_MAKEREF()
 
-char* group_component[] = {
+static char* group_component[] = {
         "Xen_VirtualSystemSettingData",
         "KVM_VirtualSystemSettingData",
         NULL
 };
 
-char* part_component[] = {
+static char* part_component[] = {
         "Xen_DiskResourceAllocationSettingData",
         "Xen_MemResourceAllocationSettingData",
         "Xen_NetResourceAllocationSettingData",
@@ -172,7 +172,7 @@ char* part_component[] = {
         NULL
 };
 
-char* assoc_classname[] = {
+static char* assoc_classname[] = {
         "Xen_VirtualSystemSettingDataComponent",
         "KVM_VirtualSystemSettingDataComponent",        
         NULL




More information about the Libvirt-cim mailing list