]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: storage: Export virStorageIsRelative
authorPeter Krempa <pkrempa@redhat.com>
Mon, 19 Jun 2017 16:06:34 +0000 (18:06 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 20 Jun 2017 11:25:55 +0000 (13:25 +0200)
src/libvirt_private.syms
src/util/virstoragefile.c
src/util/virstoragefile.h

index 044510f091906f05eaa7b2c28cd34dddd942a0ef..c1e9471c588990912d09e445b88b0c5b866c2bae 100644 (file)
@@ -2593,6 +2593,7 @@ virStorageFileParseChainIndex;
 virStorageFileProbeFormat;
 virStorageFileResize;
 virStorageIsFile;
+virStorageIsRelative;
 virStorageNetHostDefClear;
 virStorageNetHostDefCopy;
 virStorageNetHostDefFree;
index 3cbbb6c8fc065d9909bc68809dc29dc965705ef3..8047d977f7a8e4af3699d30c3f25deecb0b9efa2 100644 (file)
@@ -801,7 +801,7 @@ virStorageIsFile(const char *backing)
 }
 
 
-static bool
+bool
 virStorageIsRelative(const char *backing)
 {
     if (backing[0] == '/')
index 9ebfc1108141437d918f93a271795e97a9bad2c8..ce54a19cee862aa57f91d146b679c77f90583f8f 100644 (file)
@@ -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);