# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1201896389 28800
# Node ID 84ee0633c377768529c41463f0bf95b1c88c42e2
# Parent 5d554b65865ebaabf5261f7e8557dd7a40bf6175
Fix stale issue with threads in Virt_HostedDependency association
This crept in when we converted to lists of association classes with
std_assoc. It's a trivial fix, but it has to be done do all of our
associations, barring any that are correct already.
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 5d554b65865e -r 84ee0633c377 src/Virt_HostedDependency.c
--- a/src/Virt_HostedDependency.c Fri Feb 01 11:30:37 2008 -0800
+++ b/src/Virt_HostedDependency.c Fri Feb 01 12:06:29 2008 -0800
@@ -84,19 +84,19 @@ static CMPIStatus host_to_vs(const CMPIO
LIBVIRT_CIM_DEFAULT_MAKEREF()
-char* antecedent[] = {
+static char* antecedent[] = {
"Xen_ComputerSystem",
"KVM_ComputerSystem",
NULL
};
-char* dependent[] = {
+static char* dependent[] = {
"Xen_HostSystem",
"KVM_HostSystem",
NULL
};
-char* assoc_classname[] = {
+static char* assoc_classname[] = {
"Xen_HostedDependency",
"KVM_HostedDependency",
NULL