Re: [PATCH v2 07/32] conf: Introduce VIR_DEFINE_AUTOPTR_FUNC for virStorageVolDef

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

 



On Fri, Feb 08, 2019 at 01:37:01PM -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: Erik Skultety <eskultet@xxxxxxxxxx>
---
src/conf/storage_conf.c                    |  3 +--
src/conf/storage_conf.h                    |  1 +
src/esx/esx_storage_backend_vmfs.c         |  6 ++----
src/phyp/phyp_driver.c                     |  3 +--
src/storage/storage_backend_gluster.c      |  3 +--
src/storage/storage_backend_iscsi_direct.c | 19 +++++++----------
src/storage/storage_backend_mpath.c        | 24 ++++++++--------------
src/storage/storage_backend_rbd.c          |  9 +++-----
src/storage/storage_backend_sheepdog.c     | 15 ++++++--------
src/storage/storage_driver.c               |  6 ++----
src/storage/storage_util.c                 |  6 ++----
src/test/test_driver.c                     | 10 ++++-----
src/vbox/vbox_storage.c                    |  3 +--
tests/storagebackendsheepdogtest.c         |  3 +--
tests/storagevolxml2argvtest.c             |  5 ++---
tests/storagevolxml2xmltest.c              |  3 +--
16 files changed, 44 insertions(+), 75 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

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