libvirt/src/storage
Eric Blake a4dfc8d31d conf: return backing information separately from metadata
A couple pieces of virStorageFileMetadata are used only while
collecting information about the chain, and don't need to
live permanently in the struct.  This patch refactors external
callers to collect the information separately, so that the
next patch can remove the fields.

* src/util/virstoragefile.h (virStorageFileGetMetadataFromBuf):
Alter signature.
* src/util/virstoragefile.c (virStorageFileGetMetadataInternal):
Likewise.
(virStorageFileGetMetadataFromFDInternal): Adjust callers.
* src/storage/storage_backend_fs.c (virStorageBackendProbeTarget):
Likewise.
* src/storage/storage_backend_gluster.c
(virStorageBackendGlusterRefreshVol): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2014-04-10 16:56:16 -06:00
..
parthelper.c util: move virFile* functions from virutil.c to virfile.c 2013-05-10 13:09:30 -04:00
storage_backend_disk.c conf: drop redundant parameters during probe 2014-04-02 06:03:01 -06:00
storage_backend_disk.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_fs.c conf: return backing information separately from metadata 2014-04-10 16:56:16 -06:00
storage_backend_fs.h storage: add file functions for local and block files 2014-02-14 10:47:57 +01:00
storage_backend_gluster.c conf: return backing information separately from metadata 2014-04-10 16:56:16 -06:00
storage_backend_gluster.h storage: Add storage file backends for gluster 2014-02-14 11:07:23 +01:00
storage_backend_iscsi.c Indent top-level labels by one space in src/storage/ 2014-03-25 14:58:40 +01:00
storage_backend_iscsi.h Move functions using iscsiadm to viriscsi.c 2014-03-20 18:04:50 +01:00
storage_backend_logical.c conf: drop redundant parameters during probe 2014-04-02 06:03:01 -06:00
storage_backend_logical.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_mpath.c conf: drop redundant parameters during probe 2014-04-02 06:03:01 -06:00
storage_backend_mpath.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
storage_backend_rbd.c conf: track sizes directly in source struct 2014-04-02 06:03:00 -06:00
storage_backend_rbd.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
storage_backend_scsi.c storage: Report error from VolOpen by default 2014-04-02 12:44:16 -04:00
storage_backend_scsi.h storage: Move virStorageBackendSCSIGetHostNumber into iscsi backend 2013-04-08 18:41:06 +08:00
storage_backend_sheepdog.c conf: track sizes directly in source struct 2014-04-02 06:03:00 -06:00
storage_backend_sheepdog.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
storage_backend.c storage: Refactor storage file initialization to use virStorageSourcePtr 2014-04-09 14:31:12 +02:00
storage_backend.h storage: Refactor location of metadata for storage drive access to files 2014-04-09 14:34:19 +02:00
storage_driver.c storage: Refactor location of metadata for storage drive access to files 2014-04-09 14:34:19 +02:00
storage_driver.h storage: Refactor location of metadata for storage drive access to files 2014-04-09 14:34:19 +02:00