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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

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(-)

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux