mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
virStorageSourceSliceFree: Export function
The function will be used in the code for resizing block devices with a slice. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
48704d4605
commit
d552d02265
@ -765,7 +765,7 @@ virStorageSourceSliceCopy(const virStorageSourceSlice *src)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void
|
void
|
||||||
virStorageSourceSliceFree(virStorageSourceSlice *slice)
|
virStorageSourceSliceFree(virStorageSourceSlice *slice)
|
||||||
{
|
{
|
||||||
if (!slice)
|
if (!slice)
|
||||||
|
@ -258,6 +258,8 @@ struct _virStorageSourceSlice {
|
|||||||
char *nodename;
|
char *nodename;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void
|
||||||
|
virStorageSourceSliceFree(virStorageSourceSlice *slice);
|
||||||
|
|
||||||
struct _virStorageSourceFDTuple {
|
struct _virStorageSourceFDTuple {
|
||||||
GObject parent;
|
GObject parent;
|
||||||
|
@ -1161,6 +1161,7 @@ virStorageSourcePoolModeTypeFromString;
|
|||||||
virStorageSourcePoolModeTypeToString;
|
virStorageSourcePoolModeTypeToString;
|
||||||
virStorageSourcePrivateDataFormatRelPath;
|
virStorageSourcePrivateDataFormatRelPath;
|
||||||
virStorageSourcePrivateDataParseRelPath;
|
virStorageSourcePrivateDataParseRelPath;
|
||||||
|
virStorageSourceSliceFree;
|
||||||
virStorageTypeFromString;
|
virStorageTypeFromString;
|
||||||
virStorageTypeToString;
|
virStorageTypeToString;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user