Re: [libvirt] [PATCH 2/3] storage: Forbid to shrink the vol's capacity if no --shrink is specified

2013-06-04 Thread Michal Privoznik
On 31.05.2013 07:16, Osier Yang wrote: As the document for virsh-resize says: ... Attempts to shrink the volume will fail unless I--shrink is present; /... This makes sense as it at least prevent the user shrinking the important data of volume without a notice. ---

[libvirt] [PATCH 2/3] storage: Forbid to shrink the vol's capacity if no --shrink is specified

2013-05-30 Thread Osier Yang
As the document for virsh-resize says: ... Attempts to shrink the volume will fail unless I--shrink is present; /... This makes sense as it at least prevent the user shrinking the important data of volume without a notice. --- src/storage/storage_driver.c | 11 ++- 1 file changed, 10