[libvirt] [PATCH v3 4/8] storage: Use VIR_AUTOCLOSE
Ján Tomko
jtomko at redhat.com
Tue Feb 12 15:43:28 UTC 2019
On Tue, Feb 12, 2019 at 09:19:02AM -0500, John Ferlan wrote:
>Modify code to use the VIR_AUTOCLOSE logic 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/storage/storage_backend_logical.c | 3 +-
> src/storage/storage_backend_scsi.c | 13 +--
> src/storage/storage_file_fs.c | 15 +--
> src/storage/storage_util.c | 143 +++++++++-----------------
> src/util/virstoragefile.c | 39 +++----
> 5 files changed, 74 insertions(+), 139 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/20190212/00f11216/attachment-0001.sig>
More information about the libvir-list
mailing list