mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +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->tlsProps);
|
||||
virJSONValueFree(data->tlsKeySecretProps);
|
||||
VIR_FREE(data->storageNodeNameCopy);
|
||||
VIR_FREE(data->tlsAlias);
|
||||
VIR_FREE(data->tlsKeySecretAlias);
|
||||
VIR_FREE(data->authsecretAlias);
|
||||
|
@ -85,7 +85,6 @@ struct qemuBlockStorageSourceAttachData {
|
||||
|
||||
virJSONValuePtr storageProps;
|
||||
const char *storageNodeName;
|
||||
char *storageNodeNameCopy; /* in some cases we don't have the corresponding storage source */
|
||||
bool storageAttached;
|
||||
|
||||
virJSONValuePtr storageSliceProps;
|
||||
|
Loading…
Reference in New Issue
Block a user