mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
util: s/virStorageSourceClearBackingStore/virStorageSourceBackingStoreClear
Rename them to comply with the naming policy.
This commit is contained in:
parent
ee8abfbeac
commit
74d52fe809
@ -1904,8 +1904,8 @@ virStorageNetHostTransportTypeFromString;
|
||||
virStorageNetHostTransportTypeToString;
|
||||
virStorageNetProtocolTypeToString;
|
||||
virStorageSourceAuthClear;
|
||||
virStorageSourceBackingStoreClear;
|
||||
virStorageSourceClear;
|
||||
virStorageSourceClearBackingStore;
|
||||
virStorageSourceFree;
|
||||
virStorageSourceGetActualType;
|
||||
virStorageSourceGetSecurityLabelDef;
|
||||
|
@ -2447,7 +2447,7 @@ qemuDomainDetermineDiskChain(virQEMUDriverPtr driver,
|
||||
|
||||
if (disk->src->backingStore) {
|
||||
if (force)
|
||||
virStorageSourceClearBackingStore(disk->src);
|
||||
virStorageSourceBackingStoreClear(disk->src);
|
||||
else
|
||||
goto cleanup;
|
||||
}
|
||||
|
@ -12877,7 +12877,7 @@ qemuDomainSnapshotCreateSingleDiskActive(virQEMUDriverPtr driver,
|
||||
* recompute it. Better would be storing the chain ourselves rather than
|
||||
* reprobing, but this requires modifying domain_conf and our XML to fully
|
||||
* track the chain across libvirtd restarts. */
|
||||
virStorageSourceClearBackingStore(disk->src);
|
||||
virStorageSourceBackingStoreClear(disk->src);
|
||||
|
||||
if (virStorageFileInit(snap->src) < 0)
|
||||
goto cleanup;
|
||||
|
@ -1551,14 +1551,14 @@ virStorageSourceGetActualType(virStorageSourcePtr def)
|
||||
|
||||
|
||||
/**
|
||||
* virStorageSourceClearBackingStore:
|
||||
* virStorageSourceBackingStoreClear:
|
||||
*
|
||||
* @src: disk source to clear
|
||||
*
|
||||
* Clears information about backing store of the current storage file.
|
||||
*/
|
||||
void
|
||||
virStorageSourceClearBackingStore(virStorageSourcePtr def)
|
||||
virStorageSourceBackingStoreClear(virStorageSourcePtr def)
|
||||
{
|
||||
if (!def)
|
||||
return;
|
||||
@ -1599,7 +1599,7 @@ virStorageSourceClear(virStorageSourcePtr def)
|
||||
virStorageNetHostDefFree(def->nhosts, def->hosts);
|
||||
virStorageSourceAuthClear(def);
|
||||
|
||||
virStorageSourceClearBackingStore(def);
|
||||
virStorageSourceBackingStoreClear(def);
|
||||
}
|
||||
|
||||
|
||||
|
@ -321,7 +321,7 @@ void virStorageSourcePoolDefFree(virStorageSourcePoolDefPtr def);
|
||||
void virStorageSourceClear(virStorageSourcePtr def);
|
||||
int virStorageSourceGetActualType(virStorageSourcePtr def);
|
||||
void virStorageSourceFree(virStorageSourcePtr def);
|
||||
void virStorageSourceClearBackingStore(virStorageSourcePtr def);
|
||||
void virStorageSourceBackingStoreClear(virStorageSourcePtr def);
|
||||
virStorageSourcePtr virStorageSourceNewFromBacking(virStorageSourcePtr parent);
|
||||
|
||||
typedef int
|
||||
|
Loading…
Reference in New Issue
Block a user