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:
parent
b8c919b402
commit
eb8ae8e837
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user