Change in vdsm[master]: image: Set legality of volume to LEGAL after copy

ykaplan at redhat.com ykaplan at redhat.com
Tue Feb 26 15:41:34 UTC 2013


Yeela Kaplan has uploaded a new change for review.

Change subject: image: Set legality of volume to LEGAL after copy
......................................................................

image: Set legality of volume to LEGAL after copy

Change-Id: I08733d8361a141ee37dec18c3b9acd8f79e33fae
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=864073
Signed-off-by: Yeela Kaplan <ykaplan at redhat.com>
---
M vdsm/storage/image.py
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/57/12457/1

diff --git a/vdsm/storage/image.py b/vdsm/storage/image.py
index 92021ff..025885f 100644
--- a/vdsm/storage/image.py
+++ b/vdsm/storage/image.py
@@ -927,6 +927,8 @@
                 if volType == volume.SHARED_VOL:
                     dstVol.setShared()
 
+                dstVol.setLegality(volume.LEGAL_VOL)
+
                 if force:
                     # Now we should re-link all deleted hardlinks, if exists
                     self.__templateRelink(destDom, dstImgUUID, dstVolUUID)


--
To view, visit http://gerrit.ovirt.org/12457
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I08733d8361a141ee37dec18c3b9acd8f79e33fae
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan at redhat.com>


More information about the vdsm-patches mailing list