mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-11 12:25:52 +00:00
rbd: fix build with LIBRBD_VERSION_CODE <= 265
Add ATTRIBUTE_UNUSED to the volStorageBackendRBDGetFlags stub.
Fixes: 21deeaf02f
Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
8bfb36db40
commit
650e62e034
@ -501,8 +501,8 @@ virStorageBackendRBDSetAllocation(virStorageVolDefPtr vol,
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
static int
|
static int
|
||||||
volStorageBackendRBDGetFlags(rbd_image_t image,
|
volStorageBackendRBDGetFlags(rbd_image_t image ATTRIBUTE_UNUSED,
|
||||||
const char *volname,
|
const char *volname ATTRIBUTE_UNUSED,
|
||||||
uint64_t *flags)
|
uint64_t *flags)
|
||||||
{
|
{
|
||||||
*flags = 0;
|
*flags = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user