1
0
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:
Alasdair Kergon 2002-04-16 19:41:54 +00:00
parent 69e8a53ee4
commit de3bec7f81

View File

@ -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'.",