Re: Repository for work-in-progress storage patches

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

 



"Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:
> Actually that's OK - the contract of the 'volCreate' method in the backend
> does not require free'ing of the 'vol' object upon failure. Becaue 'vol'
> is passed in pre-allocated, it is the caller's responsibilty to release
> the 'vol' object upon failure. So the cleanup code in the loop driver
> only needs to cleanup mess it made itself - eg releasing the loop device
> and closing the fd.

Ah... got it, now.
Thanks.

--
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]