[PATCH 09/10] virStorageSourceSliceFree: Export function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The function will be used in the code for resizing block devices with a
slice.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/conf/storage_source_conf.c | 2 +-
 src/conf/storage_source_conf.h | 2 ++
 src/libvirt_private.syms       | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/conf/storage_source_conf.c b/src/conf/storage_source_conf.c
index f974a521b1..959ec5ed40 100644
--- a/src/conf/storage_source_conf.c
+++ b/src/conf/storage_source_conf.c
@@ -765,7 +765,7 @@ virStorageSourceSliceCopy(const virStorageSourceSlice *src)
 }


-static void
+void
 virStorageSourceSliceFree(virStorageSourceSlice *slice)
 {
     if (!slice)
diff --git a/src/conf/storage_source_conf.h b/src/conf/storage_source_conf.h
index 5e7d127453..05b4bda16c 100644
--- a/src/conf/storage_source_conf.h
+++ b/src/conf/storage_source_conf.h
@@ -258,6 +258,8 @@ struct _virStorageSourceSlice {
     char *nodename;
 };

+void
+virStorageSourceSliceFree(virStorageSourceSlice *slice);

 struct _virStorageSourceFDTuple {
     GObject parent;
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 553b01b8c0..31c0f169c3 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -1161,6 +1161,7 @@ virStorageSourcePoolModeTypeFromString;
 virStorageSourcePoolModeTypeToString;
 virStorageSourcePrivateDataFormatRelPath;
 virStorageSourcePrivateDataParseRelPath;
+virStorageSourceSliceFree;
 virStorageTypeFromString;
 virStorageTypeToString;

-- 
2.43.0
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux