From 3390d370d0d421f0bb3472aaa439a5f77a3b85d1 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Mon, 26 Nov 2001 13:15:22 +0000 Subject: [PATCH] o make it obvious that stripe_segment is variable sized. --- lib/metadata/metadata.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/metadata/metadata.h b/lib/metadata/metadata.h index 970f9de34..b3d077775 100644 --- a/lib/metadata/metadata.h +++ b/lib/metadata/metadata.h @@ -69,9 +69,11 @@ struct pe_specifier { }; struct stripe_segment { - uint32_t count; uint32_t chunk_size; - struct pe_specifier[1]; + uint32_t pe_count; + + /* variable sized pe array */ + struct pe_specifier pes[1]; }; struct cmd_context;