From 39b3b91755578d734f79834449b122c09362cf43 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Tue, 9 Oct 2001 17:36:48 +0000 Subject: [PATCH] o fix seg fault while reading extents --- lib/format1/import-export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/format1/import-export.c b/lib/format1/import-export.c index 834f70672..d3da101c1 100644 --- a/lib/format1/import-export.c +++ b/lib/format1/import-export.c @@ -343,7 +343,7 @@ int import_extents(struct pool *mem, struct volume_group *vg, lv_num = e[i].lv_num; if (lv_num == UNMAPPED_EXTENT) - lv->map[le].pv = NULL; + continue; else if(lv_num > dl->pv.lv_cur) { log_err("invalid lv in extent map\n"); -- 2.43.5