mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +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>
|
Sun Dec 7 14:03:53 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* src/test.c: Fix return value in testStoragePoolBuild
|
* src/test.c: Fix return value in testStoragePoolBuild
|
||||||
|
@ -2323,9 +2323,6 @@ no_memory:
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
|
||||||
testStoragePoolRefresh(virStoragePoolPtr obj,
|
|
||||||
unsigned int flags ATTRIBUTE_UNUSED);
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
testStoragePoolStart(virStoragePoolPtr pool,
|
testStoragePoolStart(virStoragePoolPtr pool,
|
||||||
@ -2350,8 +2347,6 @@ testStoragePoolStart(virStoragePoolPtr pool,
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (testStoragePoolRefresh(pool, 0) == 0)
|
|
||||||
goto cleanup;
|
|
||||||
privpool->active = 1;
|
privpool->active = 1;
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user