[libvirt] [PATCH 3/6] util: storagefile: Don't report errors from virStorageSourceUpdatePhysicalSize

Ján Tomko jtomko at redhat.com
Thu Aug 15 18:42:38 UTC 2019


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 <pkrempa at redhat.com>
>---
> src/util/virstoragefile.c | 12 ++----------
> 1 file changed, 2 insertions(+), 10 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190815/503e8957/attachment-0001.sig>


More information about the libvir-list mailing list