mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
Fix test driver storage deadlock
This commit is contained in:
parent
a2b2ada85c
commit
5abce0805b
@ -1,3 +1,7 @@
|
||||
Sun Dec 7 20:20:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/test.c: Remove bogus refresh call causing deadlock
|
||||
|
||||
Sun Dec 7 14:03:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/test.c: Fix return value in testStoragePoolBuild
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user