From 9cb36def827973e2cadc8e5976c0b9da80b49ff6 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Thu, 8 Oct 2015 13:28:23 -0400 Subject: [PATCH] storage: Remove duplicitous refreshVol in RBD buildVol 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 --- 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 ac5085a9c6..5ae4713260 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: -- GitLab