]> git.ipfire.org Git - thirdparty/libvirt.git/commit
phyp: fix logic error on volume creation
authorEric Blake <eblake@redhat.com>
Tue, 1 Apr 2014 23:30:06 +0000 (17:30 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 2 Apr 2014 12:03:00 +0000 (06:03 -0600)
commit93d4585e7518e362bb20be4c3bb1632bc89be034
treee9b172a9a9782d365ee61a1553e528c8a593d91e
parente9d09fe19680fcb1810774023aa5c2ef007b10c6
phyp: fix logic error on volume creation

The phyp code claims that it wants a non-zero value, but actually
enforces a capacity of zero.  It has been this way since commit
ebc46fe in June 2010.  Bummer that it has my name as the committer
- I guess I should have been much more stubborn about not blindly
taking someone else's 1600-line patch.

* src/phyp/phyp_driver.c (phypStorageVolCreateXML): Use correct
logic.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/phyp/phyp_driver.c