]> xenbits.xensource.com Git - libvirt.git/commit
storage: Clean up logical pool devices on build failure
authorJohn Ferlan <jferlan@redhat.com>
Thu, 15 Dec 2016 11:39:42 +0000 (06:39 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 10 Jan 2017 13:44:50 +0000 (08:44 -0500)
commit71a08b5a5aa2bc2e3a81f91e0445b81d462877e6
tree5a9215b5246abaaf6e0ce3fc6c7b32e8b34b630e
parenta4cb4a74f9f8171d0da3f4c3cec5e8210430c833
storage: Clean up logical pool devices on build failure

If the build fails, then we need to ensure that we've run pvremove
on any devices which we've run pvcreate on; otherwise, a subsequent
build could fail since running pvcreate twice on a device requires
special force arguments.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/storage/storage_backend_logical.c