From: Daniel P. Berrange Date: Sun, 7 Dec 2008 20:21:46 +0000 (+0000) Subject: Fix test driver storage deadlock X-Git-Tag: LIBVIRT_0_6_0~263 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5abce0805bcb97eb3d9956069f9c9834420231c0;p=thirdparty%2Flibvirt.git Fix test driver storage deadlock --- diff --git a/ChangeLog b/ChangeLog index 892cc70ff5..ae77f058f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Dec 7 20:20:53 GMT 2008 Daniel P. Berrange + + * src/test.c: Remove bogus refresh call causing deadlock + Sun Dec 7 14:03:53 GMT 2008 Daniel P. Berrange * src/test.c: Fix return value in testStoragePoolBuild diff --git a/src/test.c b/src/test.c index fde2f094a4..a5b7c25cb0 100644 --- a/src/test.c +++ b/src/test.c @@ -2323,9 +2323,6 @@ no_memory: return -1; } -static int -testStoragePoolRefresh(virStoragePoolPtr obj, - unsigned int flags ATTRIBUTE_UNUSED); static int testStoragePoolStart(virStoragePoolPtr pool, @@ -2350,8 +2347,6 @@ testStoragePoolStart(virStoragePoolPtr pool, goto cleanup; } - if (testStoragePoolRefresh(pool, 0) == 0) - goto cleanup; privpool->active = 1; ret = 0;