]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: storagefile: Don't report errors from virStorageSourceUpdatePhysicalSize
authorPeter Krempa <pkrempa@redhat.com>
Wed, 14 Aug 2019 15:51:23 +0000 (17:51 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 16 Aug 2019 11:17:41 +0000 (13:17 +0200)
commitb074363136ddcf1599c36f11b9f5a5fe45c5b3e5
tree16033cb134db9c1c04d63609f8bf8a6f07c887a5
parentba6c12df2ceb4df9bfb7ce95deef04f96bf29462
util: storagefile: Don't report errors from virStorageSourceUpdatePhysicalSize

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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virstoragefile.c