From: Eric Benner <eben...@vultr.com>

Sorry I attempted to use a mail client since SMTP wasn't working for me at the 
time. I cleaned up the commit, I believe this is how it needed to be.

Signed-off-by: Eric Benner <eben...@vultr.com>
---
 src/storage/storage_backend_logical.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/storage/storage_backend_logical.c 
b/src/storage/storage_backend_logical.c
index 42dec05ba0..2c60719b8c 100644
--- a/src/storage/storage_backend_logical.c
+++ b/src/storage/storage_backend_logical.c
@@ -641,11 +641,9 @@ virStorageBackendLogicalCheckPool(virStoragePoolObjPtr 
pool,
 {
     virStoragePoolDefPtr def = virStoragePoolObjGetDef(pool);
 
-    /* If we can find the target.path as well as ensure that the
-     * pool's def source
-     */
-    *isActive = virFileExists(def->target.path) &&
-                virStorageBackendLogicalMatchPoolSource(pool);
+    /* Ensure that the pool's def source is correct */
+    *isActive = virStorageBackendLogicalMatchPoolSource(pool);
+
     return 0;
 }
 
-- 
2.24.1


Reply via email to