[PATCH 0/2] Fix bug on buildVol error path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1092882

Changes as a result of commit id '0c2305b3', see:

http://www.redhat.com/archives/libvir-list/2014-April/msg00375.html

Resulted in a regression when there was a failure to buildVol the 
volume wasn't removed from the storage driver list because the wrong
local storage pointer was passed to the DeleteInternal routine.

Additionally a preexisting condition where if deleteVol didn't exist
or failed, the volume would not be removed from volumes.objs[] even
though it doesn't exist.  This results in virsh vol-list and vol-info
not finding the volume and emitting error messages.


John Ferlan (2):
  storage: Need to ensure removal of voldef from driver list
  storage: Resolve issues in failure path

 src/storage/storage_driver.c | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

-- 
1.9.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]