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

storage: fs: Compile file backends even if filesystem support is disabled

The file backend code was mistakenly put into #if WITH_STORAGE_FS. This
is not necessary since all the backends just access files on disk, and
thus the code for WITH_STORAGE_DIR is sufficient to compile everything.
上级 46e8049c
...@@ -1390,6 +1390,7 @@ virStorageBackend virStorageBackendNetFileSystem = { ...@@ -1390,6 +1390,7 @@ virStorageBackend virStorageBackendNetFileSystem = {
.downloadVol = virStorageBackendVolDownloadLocal, .downloadVol = virStorageBackendVolDownloadLocal,
.wipeVol = virStorageBackendVolWipeLocal, .wipeVol = virStorageBackendVolWipeLocal,
}; };
#endif /* WITH_STORAGE_FS */
typedef struct _virStorageFileBackendFsPriv virStorageFileBackendFsPriv; typedef struct _virStorageFileBackendFsPriv virStorageFileBackendFsPriv;
...@@ -1574,5 +1575,3 @@ virStorageFileBackend virStorageFileBackendDir = { ...@@ -1574,5 +1575,3 @@ virStorageFileBackend virStorageFileBackendDir = {
.storageFileGetUniqueIdentifier = virStorageFileBackendFileGetUniqueIdentifier, .storageFileGetUniqueIdentifier = virStorageFileBackendFileGetUniqueIdentifier,
}; };
#endif /* WITH_STORAGE_FS */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册