]> xenbits.xensource.com Git - libvirt.git/commit
Correct a check for capacity arg of storageVolumeResize()
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Sat, 3 Mar 2012 03:18:59 +0000 (05:18 +0200)
committerEric Blake <eblake@redhat.com>
Sat, 3 Mar 2012 04:52:02 +0000 (21:52 -0700)
commit4f3287a415881988b09f153cb72bea5182964af9
tree3260b5dde05649a82864335d373825f7dd28c7e2
parentd1c310231dd0c4cea989cc5e35a9911b38f7cacf
Correct a check for capacity arg of storageVolumeResize()

Lets say I got a volume with '1G' allocation and '10G' capacity. The
available space in the parent pool is '5G'. With the current check for
overcapacity, I can only try to resize to <= '6G'. You see the problem?
src/storage/storage_driver.c