From 9fc9395c41a908a69729b3e4abda96dcf28deca3 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Wed, 14 May 2025 15:51:18 +0200 Subject: [PATCH] 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 --- src/storage/storage_backend_rbd.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.2