From de3bec7f81b462492a78bc30e45fba2caa87f61a Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Tue, 16 Apr 2002 19:41:54 +0000 Subject: [PATCH] Missing seg->lv gives segfault when activating from text format. --- lib/format_text/import.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/format_text/import.c b/lib/format_text/import.c index 5406ae6f8..fac545bd3 100644 --- a/lib/format_text/import.c +++ b/lib/format_text/import.c @@ -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'.",