From e585c10fade006e5fe3643b76b09501d54c20c9b Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 24 Sep 2021 17:36:29 +0200 Subject: [PATCH] make: fix compilation for undefined RAID_INTERNAL Reported-by: adamboardman of gemian --- lib/metadata/segtype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metadata/segtype.h b/lib/metadata/segtype.h index d7cfc2b72..2f4949267 100644 --- a/lib/metadata/segtype.h +++ b/lib/metadata/segtype.h @@ -326,9 +326,9 @@ struct segment_type *init_unknown_segtype(struct cmd_context *cmd, */ #define RAID_FEATURE_NEW_DEVICES_ACCEPT_REBUILD (1U << 6) /* version 1.9.0 */ +bool raid_is_available(const struct logical_volume *lv); #ifdef RAID_INTERNAL int init_raid_segtypes(struct cmd_context *cmd, struct segtype_library *seglib); -bool raid_is_available(const struct logical_volume *lv); #endif #define THIN_FEATURE_DISCARDS (1U << 0)