提交 5abce080 编写于 作者: D Daniel P. Berrange

Fix test driver storage deadlock

上级 a2b2ada8
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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册