Re: [libvirt] [PATCH v3 4/8] storage: Use VIR_AUTOCLOSE

2019-02-12 Thread Ján Tomko
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 Reviewed-by: Erik Skultety --- src/storage/storage_backend_logical.c | 3 +- src/storage/storage_backend_scsi.c|

[libvirt] [PATCH v3 4/8] storage: Use VIR_AUTOCLOSE

2019-02-12 Thread John Ferlan
Modify code to use the VIR_AUTOCLOSE logic cleaning up any now unnecessary goto paths. Signed-off-by: John Ferlan Reviewed-by: Erik Skultety --- src/storage/storage_backend_logical.c | 3 +- src/storage/storage_backend_scsi.c| 13 +-- src/storage/storage_file_fs.c | 15 +--