[PATCH 3/5] util: storage: Export virStorageIsRelative

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

 



---
 src/libvirt_private.syms  | 1 +
 src/util/virstoragefile.c | 2 +-
 src/util/virstoragefile.h | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 044510f09..c1e9471c5 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -2593,6 +2593,7 @@ virStorageFileParseChainIndex;
 virStorageFileProbeFormat;
 virStorageFileResize;
 virStorageIsFile;
+virStorageIsRelative;
 virStorageNetHostDefClear;
 virStorageNetHostDefCopy;
 virStorageNetHostDefFree;
diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c
index 3cbbb6c8f..8047d977f 100644
--- a/src/util/virstoragefile.c
+++ b/src/util/virstoragefile.c
@@ -801,7 +801,7 @@ virStorageIsFile(const char *backing)
 }


-static bool
+bool
 virStorageIsRelative(const char *backing)
 {
     if (backing[0] == '/')
diff --git a/src/util/virstoragefile.h b/src/util/virstoragefile.h
index 9ebfc1108..ce54a19ce 100644
--- a/src/util/virstoragefile.h
+++ b/src/util/virstoragefile.h
@@ -332,6 +332,7 @@ int virStorageFileResize(const char *path,

 int virStorageFileIsClusterFS(const char *path);
 bool virStorageIsFile(const char *path);
+bool virStorageIsRelative(const char *backing);

 int virStorageFileGetLVMKey(const char *path,
                             char **key);
-- 
2.12.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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