[libvirt] [PATCH 01/12] storage: Remove duplicitous refreshVol in RBD buildVol
John Ferlan
jferlan at redhat.com
Fri Oct 9 13:34:00 UTC 2015
As of commit id '155ca616' a 'refreshVol' is called after the buildVol
succeeds in storageVolCreateXML, thus the volStorageBackendRBDRefreshVolInfo
call in virStorageBackendRBDBuildVol is no longer necessary.
Signed-off-by: John Ferlan <jferlan at redhat.com>
---
src/storage/storage_backend_rbd.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/storage/storage_backend_rbd.c b/src/storage/storage_backend_rbd.c
index ac5085a..5ae4713 100644
--- a/src/storage/storage_backend_rbd.c
+++ b/src/storage/storage_backend_rbd.c
@@ -532,9 +532,6 @@ virStorageBackendRBDBuildVol(virConnectPtr conn,
goto cleanup;
}
- if (volStorageBackendRBDRefreshVolInfo(vol, pool, &ptr) < 0)
- goto cleanup;
-
ret = 0;
cleanup:
--
2.1.0
More information about the libvir-list
mailing list