Inside of storage_backend.c there are two implementations of
volStorageBackendRBDUseFastDiff() function: one when librbd is
new enough and one when it isn't. The former returns a bool, but
the latter is declared to return an int despite it returning a
boolean. Fix the latter.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
return 0;
}
-static int
+static bool
volStorageBackendRBDUseFastDiff(uint64_t features G_GNUC_UNUSED,
uint64_t feature_flags G_GNUC_UNUSED)
{