
12 Feb
2019
12 Feb
'19
4:43 p.m.
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@redhat.com> Reviewed-by: Erik Skultety <eskultet@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@redhat.com> Jano