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

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


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

diff -r 4bab53fec75a -r 0bbd40170198 src/Virt_VSSDComponent.c
--- a/src/Virt_VSSDComponent.c	Tue Feb 05 11:53:19 2008 +0100
+++ b/src/Virt_VSSDComponent.c	Tue Feb 05 11:53:19 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