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

Ján Tomko jtomko at redhat.com
Mon Feb 11 11:59:14 UTC 2019


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 at redhat.com>
>Reviewed-by: Erik Skultety <eskultet at redhat.com>
>---
> 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 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/20190211/42219989/attachment-0001.sig>


More information about the libvir-list mailing list