libvirt/src/storage
John Ferlan 7c47becf76 storage: Use consistent error preservation and restoration calls
Provide some consistency over error message variable name and usage
when saving error messages across possible other errors or possibility
of resetting of the last error.

Instead of virSaveLastError paired up with virSetError and virFreeError,
we should use the newer virErrorPreserveLast and virRestoreError.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2019-10-16 15:24:41 -04:00
..
Makefile.inc.am build: link to glib library 2019-10-14 10:54:42 +01:00
parthelper.c
storage_backend_disk.c storage: Use consistent error preservation and restoration calls 2019-10-16 15:24:41 -04:00
storage_backend_disk.h
storage_backend_fs.c Use g_steal_pointer instead of VIR_STEAL_PTR everywhere 2019-10-16 15:59:42 +02:00
storage_backend_fs.h
storage_backend_gluster.c Use g_steal_pointer instead of VIR_STEAL_PTR everywhere 2019-10-16 15:59:42 +02:00
storage_backend_gluster.h
storage_backend_iscsi_direct.c Use g_steal_pointer instead of VIR_STEAL_PTR everywhere 2019-10-16 15:59:42 +02:00
storage_backend_iscsi_direct.h
storage_backend_iscsi.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
storage_backend_iscsi.h
storage_backend_logical.c storage: Use consistent error preservation and restoration calls 2019-10-16 15:24:41 -04:00
storage_backend_logical.h
storage_backend_mpath.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
storage_backend_mpath.h
storage_backend_rbd.c Use g_steal_pointer instead of VIR_STEAL_PTR everywhere 2019-10-16 15:59:42 +02:00
storage_backend_rbd.h
storage_backend_scsi.c Use g_steal_pointer instead of VIR_STEAL_PTR everywhere 2019-10-16 15:59:42 +02:00
storage_backend_scsi.h
storage_backend_sheepdog_priv.h
storage_backend_sheepdog.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
storage_backend_sheepdog.h
storage_backend_vstorage.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
storage_backend_vstorage.h
storage_backend_zfs.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
storage_backend_zfs.h
storage_backend.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
storage_backend.h
storage_driver.c storage: Use consistent error preservation and restoration calls 2019-10-16 15:24:41 -04:00
storage_driver.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
storage_file_fs.c
storage_file_fs.h
storage_file_gluster.c Use g_steal_pointer instead of VIR_STEAL_PTR everywhere 2019-10-16 15:59:42 +02:00
storage_file_gluster.h
storage_util.c Use g_steal_pointer instead of VIR_STEAL_PTR everywhere 2019-10-16 15:59:42 +02:00
storage_util.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virtstoraged.service.in