util: storage: Export virStorageIsRelative

This commit is contained in:
Peter Krempa 2017-06-19 18:06:34 +02:00
parent c885b7fe1d
commit e4c3eff70e
3 changed files with 3 additions and 1 deletions

View File

@ -2593,6 +2593,7 @@ virStorageFileParseChainIndex;
virStorageFileProbeFormat; virStorageFileProbeFormat;
virStorageFileResize; virStorageFileResize;
virStorageIsFile; virStorageIsFile;
virStorageIsRelative;
virStorageNetHostDefClear; virStorageNetHostDefClear;
virStorageNetHostDefCopy; virStorageNetHostDefCopy;
virStorageNetHostDefFree; virStorageNetHostDefFree;

View File

@ -801,7 +801,7 @@ virStorageIsFile(const char *backing)
} }
static bool bool
virStorageIsRelative(const char *backing) virStorageIsRelative(const char *backing)
{ {
if (backing[0] == '/') if (backing[0] == '/')

View File

@ -332,6 +332,7 @@ int virStorageFileResize(const char *path,
int virStorageFileIsClusterFS(const char *path); int virStorageFileIsClusterFS(const char *path);
bool virStorageIsFile(const char *path); bool virStorageIsFile(const char *path);
bool virStorageIsRelative(const char *backing);
int virStorageFileGetLVMKey(const char *path, int virStorageFileGetLVMKey(const char *path,
char **key); char **key);