mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
qemuBlockStorageSourceAttachData: remove 'storageNodeNameCopy'
This was a hack when we were locally regenerating the nodename so that it's not leaked. Now that we use proper virStorageSource with persistence it's no longer required. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
cca2dd4890
commit
82b60ec8ce
@ -1557,7 +1557,6 @@ qemuBlockStorageSourceAttachDataFree(qemuBlockStorageSourceAttachDataPtr data)
|
|||||||
virJSONValueFree(data->encryptsecretProps);
|
virJSONValueFree(data->encryptsecretProps);
|
||||||
virJSONValueFree(data->tlsProps);
|
virJSONValueFree(data->tlsProps);
|
||||||
virJSONValueFree(data->tlsKeySecretProps);
|
virJSONValueFree(data->tlsKeySecretProps);
|
||||||
VIR_FREE(data->storageNodeNameCopy);
|
|
||||||
VIR_FREE(data->tlsAlias);
|
VIR_FREE(data->tlsAlias);
|
||||||
VIR_FREE(data->tlsKeySecretAlias);
|
VIR_FREE(data->tlsKeySecretAlias);
|
||||||
VIR_FREE(data->authsecretAlias);
|
VIR_FREE(data->authsecretAlias);
|
||||||
|
@ -85,7 +85,6 @@ struct qemuBlockStorageSourceAttachData {
|
|||||||
|
|
||||||
virJSONValuePtr storageProps;
|
virJSONValuePtr storageProps;
|
||||||
const char *storageNodeName;
|
const char *storageNodeName;
|
||||||
char *storageNodeNameCopy; /* in some cases we don't have the corresponding storage source */
|
|
||||||
bool storageAttached;
|
bool storageAttached;
|
||||||
|
|
||||||
virJSONValuePtr storageSliceProps;
|
virJSONValuePtr storageSliceProps;
|
||||||
|
Loading…
Reference in New Issue
Block a user