[libvirt] [PATCH v3 8/8] util: Introduce VIR_DEFINE_AUTOPTR_FUNC for virStorageSource

Ján Tomko jtomko at redhat.com
Tue Feb 12 15:47:39 UTC 2019


On Tue, Feb 12, 2019 at 09:19:06AM -0500, John Ferlan wrote:
>Let's make use of the auto __cleanup capabilities cleaning up any
>now unnecessary goto paths.
>
>Signed-off-by: John Ferlan <jferlan at redhat.com>
>Reviewed-by: Ján Tomko <jtomko at redhat.com>

This was the only patch I got in 'cc:'. If that was not intentional,
check your git settings - there was a change in behavior in 2.20:
https://lwn.net/Articles/774686/

Jano

>---
> src/conf/domain_conf.c                |   3 +-
> src/qemu/qemu_domain.c                |   3 +-
> src/qemu/qemu_driver.c                |   9 +-
> src/qemu/qemu_migration.c             |   3 +-
> src/storage/storage_backend_gluster.c |   3 +-
> src/storage/storage_util.c            |  25 ++---
> src/util/virstoragefile.c             | 141 +++++++++++---------------
> src/util/virstoragefile.h             |   1 +
> tests/qemublocktest.c                 |   6 +-
> tests/virstoragetest.c                |  50 ++++-----
> 10 files changed, 97 insertions(+), 147 deletions(-)
-------------- 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/20190212/51740f47/attachment-0001.sig>


More information about the libvir-list mailing list