mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Missing seg->lv gives segfault when activating from text format.
This commit is contained in:
parent
69e8a53ee4
commit
de3bec7f81
@ -189,6 +189,7 @@ static int _read_segment(struct pool *mem, struct volume_group *vg,
|
||||
return 0;
|
||||
}
|
||||
seg->stripes = stripes;
|
||||
seg->lv = lv;
|
||||
|
||||
if (!_read_int32(sn, "start_extent", &seg->le)) {
|
||||
log_err("Couldn't read 'start_extent' for segment '%s'.",
|
||||
|
Loading…
Reference in New Issue
Block a user