From eb8ae8e837d7e496e4b1ee16359473dd3f7525b8 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 24 Apr 2003 22:46:47 +0000 Subject: [PATCH] Update segment area length when merging consecutive segments. --- lib/metadata/merge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/metadata/merge.c b/lib/metadata/merge.c index ba4afe549..23122f620 100644 --- a/lib/metadata/merge.c +++ b/lib/metadata/merge.c @@ -39,6 +39,7 @@ static int _merge(struct lv_segment *first, struct lv_segment *second) /* we should merge */ first->len += second->len; + first->area_len += second->area_len; return 1; }