mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +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,
|
||||
.wipeVol = virStorageBackendVolWipeLocal,
|
||||
};
|
||||
#endif /* WITH_STORAGE_FS */
|
||||
|
||||
|
||||
typedef struct _virStorageFileBackendFsPriv virStorageFileBackendFsPriv;
|
||||
@ -1574,5 +1575,3 @@ virStorageFileBackend virStorageFileBackendDir = {
|
||||
|
||||
.storageFileGetUniqueIdentifier = virStorageFileBackendFileGetUniqueIdentifier,
|
||||
};
|
||||
|
||||
#endif /* WITH_STORAGE_FS */
|
||||
|
Loading…
Reference in New Issue
Block a user