Re: [libvirt] [PATCH] storage: util: Properly ignore errors when backing volume is inaccessible

2018-01-30 Thread Jiri Denemark
On Tue, Jan 30, 2018 at 11:50:31 +0100, Peter Krempa wrote: > Commit 000e9504559 tried to fix improper bracketing when refreshing disk > volume stats for a backing volume. Unfortunately the condition is still > wrong as in cases as the backing store being inaccessible > storageBackendUpdateVolTarge

[libvirt] [PATCH] storage: util: Properly ignore errors when backing volume is inaccessible

2018-01-30 Thread Peter Krempa
Commit 000e9504559 tried to fix improper bracketing when refreshing disk volume stats for a backing volume. Unfortunately the condition is still wrong as in cases as the backing store being inaccessible storageBackendUpdateVolTargetInfo returns -2 if instructed to ignore errors. The condition does