提交 e4c3eff7 编写于 作者: P Peter Krempa

util: storage: Export virStorageIsRelative

上级 c885b7fe
...@@ -2593,6 +2593,7 @@ virStorageFileParseChainIndex; ...@@ -2593,6 +2593,7 @@ virStorageFileParseChainIndex;
virStorageFileProbeFormat; virStorageFileProbeFormat;
virStorageFileResize; virStorageFileResize;
virStorageIsFile; virStorageIsFile;
virStorageIsRelative;
virStorageNetHostDefClear; virStorageNetHostDefClear;
virStorageNetHostDefCopy; virStorageNetHostDefCopy;
virStorageNetHostDefFree; virStorageNetHostDefFree;
......
...@@ -801,7 +801,7 @@ virStorageIsFile(const char *backing) ...@@ -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] == '/')
......
...@@ -332,6 +332,7 @@ int virStorageFileResize(const char *path, ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册