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:
Peter Krempa 2017-01-13 16:59:30 +01:00
parent 46e8049c15
commit d66dda6504

View File

@ -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 */