]> xenbits.xensource.com Git - libvirt.git/commit
storage: Fix type PLOOP type check for storageVolUpload
authorJohn Ferlan <jferlan@redhat.com>
Fri, 2 Dec 2016 19:58:23 +0000 (14:58 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 5 Dec 2016 11:44:04 +0000 (06:44 -0500)
commitd3bba707719d2658e60b574632060b6766fab248
treea73f92d20f755fef292afbc204696ee23f4713ea
parent36d9965af08d2be7ff57d2be5a2a308d8d617e6f
storage: Fix type PLOOP type check for storageVolUpload

Commit id '03e750f3' added support for checking the PLOOP type; however,
it used 'target.type' which no storage code ever fills in, so it will
never be set.  Change to just vol->type (could use vol->target.format
as well).
src/storage/storage_driver.c