Re: [libvirt] [PATCH v2 23/32] storage: Use VIR_AUTOCLOSE

2019-02-11 Thread Ján Tomko
On Fri, Feb 08, 2019 at 01:37:17PM -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 v2 23/32] storage: Use VIR_AUTOCLOSE

2019-02-08 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| 12 +-- src/storage/storage_file_fs.c | 15 +--