Federico Simoncelli has uploaded a new change for review. Change subject: hsm: fix updateVolumeSize for qcow2 volumes ......................................................................
hsm: fix updateVolumeSize for qcow2 volumes Change-Id: I08aa24277d11595e82c93b979c2c34fcf9d09c38 Signed-off-by: Federico Simoncelli <fsimo...@redhat.com> --- M vdsm/storage/hsm.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/79/19279/1 diff --git a/vdsm/storage/hsm.py b/vdsm/storage/hsm.py index 744a855..6210912 100644 --- a/vdsm/storage/hsm.py +++ b/vdsm/storage/hsm.py @@ -696,7 +696,7 @@ if volFormat != volume.COW_FORMAT: # This method is used only with COW volumes (see docstring), # for RAW volumes we just return the volume size. - return dict(size=str(self.getVolumeSize(bs=1))) + return dict(size=str(volToExtend.getVolumeSize(bs=1))) qemuImgFormat = volume.fmt2str(volume.COW_FORMAT) -- To view, visit http://gerrit.ovirt.org/19279 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I08aa24277d11595e82c93b979c2c34fcf9d09c38 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Federico Simoncelli <fsimo...@redhat.com> _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches