From d66dda650476b363918f3a88d66c082a3579a5cd Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 13 Jan 2017 16:59:30 +0100 Subject: [PATCH] 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. --- src/storage/storage_backend_fs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c index 53710db11c..15b35995df 100644 --- a/src/storage/storage_backend_fs.c +++ b/src/storage/storage_backend_fs.c @@ -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 */ -- 2.47.2