On Wed, Aug 14, 2019 at 06:59:18PM +0200, Peter Krempa wrote:
virStorageSourceUpdatePhysicalSize is called only from
qemuDomainStorageUpdatePhysical and all callers of it reset the libvirt
error if -1 is returned.

Don't bother setting the error in the first place.

Signed-off-by: Peter Krempa <pkre...@redhat.com>
src/util/virstoragefile.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)

Reviewed-by: Ján Tomko <jto...@redhat.com>


Attachment: signature.asc
Description: PGP signature

libvir-list mailing list

Reply via email to