From: Michal Privoznik Date: Wed, 14 May 2025 13:51:18 +0000 (+0200) Subject: storage_backend_rbd.c: Make virStorageBackendRBDSetAllocation() stub report an error X-Git-Tag: v11.4.0-rc1~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fc9395c41a908a69729b3e4abda96dcf28deca3;p=thirdparty%2Flibvirt.git storage_backend_rbd.c: Make virStorageBackendRBDSetAllocation() stub report an error Inside of storage_backend_rbd.c there are two implementations of virStorageBackendRBDSetAllocation(). One reports an error on failure, so the stub implementation should report an error too. Signed-off-by: Michal Privoznik Reviewed-by: Peter Krempa --- diff --git a/src/storage/storage_backend_rbd.c b/src/storage/storage_backend_rbd.c index 832f48df16..c2dbf3a307 100644 --- a/src/storage/storage_backend_rbd.c +++ b/src/storage/storage_backend_rbd.c @@ -515,6 +515,7 @@ virStorageBackendRBDSetAllocation(virStorageVolDef *vol G_GNUC_UNUSED, rbd_image_t *image G_GNUC_UNUSED, rbd_image_info_t *info G_GNUC_UNUSED) { + virReportUnsupportedError(); return false; } #endif