1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Update segment area length when merging consecutive segments.

This commit is contained in:
Alasdair Kergon 2003-04-24 22:46:47 +00:00
parent b8c919b402
commit eb8ae8e837

View File

@ -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;
}