Re: [PATCH] virDomainDiskTranslateSourcePool: Check for disk type correctly

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

 



On Mon, Mar 09, 2020 at 16:50:52 +0100, Michal Privoznik wrote:
> When rewriting the virDomainDiskTranslateSourcePool() function in
> v6.1.0-rc1~184 a typo was introduced. Previously, we allowed
> startup policy only for those volumes which translated to
> VIR_STORAGE_TYPE_FILE. But starting with the referenced commit,
> the value we checked for was changed to VIR_STORAGE_VOL_FILE
> which comes from a different enum and has a different value too.
> This is wrong, because virStorageSourceGetActualType() returns a
> value from the original enum.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1811728
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

Oops.

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>





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

  Powered by Linux