Fix test driver storage deadlock

This commit is contained in:
Daniel P. Berrange
2008-12-07 20:21:46 +00:00
parent a2b2ada85c
commit 5abce0805b
2 changed files with 4 additions and 5 deletions

View File

@@ -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;