mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
o fix seg fault while reading extents
This commit is contained in:
parent
f0b4d18f93
commit
7d41d2dab2
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user