mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
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.
This commit is contained in:
parent
46e8049c15
commit
d66dda6504
@ -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 = {
|
|||||||
|
|
||||||
.storageFileGetUniqueIdentifier = virStorageFileBackendFileGetUniqueIdentifier,
|
.storageFileGetUniqueIdentifier = virStorageFileBackendFileGetUniqueIdentifier,
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* WITH_STORAGE_FS */
|
|
||||||
|
Loading…
Reference in New Issue
Block a user