]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage_backend_fs: use MKFS ony if WITH_STORAGE_FS is defined
authorPavel Hrdina <phrdina@redhat.com>
Wed, 21 Apr 2021 13:31:12 +0000 (15:31 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 21 Apr 2021 15:26:12 +0000 (17:26 +0200)
commit9c81d1ec11b05a5d5caec2baaca577df6d9f3ea7
treebc8b814005d9da12f2ef30fe30d86a5ef37749bb
parenta85d553d7608bf4c9ffe74546d32afe0275d7c69
storage_backend_fs: use MKFS ony if WITH_STORAGE_FS is defined

The code in storage_backend_fs is used for storage_dir and storage_fs
drivers so some parts need to be guarded by checking for
WITH_STORAGE_FS.

Fixes: 16c69e7aaed4cabfd8e8c19cc326854d4c480437
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/storage/storage_backend_fs.c