1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-04 09:18:36 +03:00

lvd->lv_access & LV_SNAPSHOT not lvd->lv_status

This commit is contained in:
Alasdair Kergon 2002-02-20 21:24:45 +00:00
parent b6afcf6458
commit bf1b684e2e

View File

@ -601,7 +601,7 @@ int import_snapshots(struct pool *mem, struct volume_group *vg,
list_iterate (lvdh, &dl->lvds) {
lvd = &(list_item(lvdh, struct lvd_list)->lvd);
if (!(lvd->lv_status & LV_SNAPSHOT))
if (!(lvd->lv_access & LV_SNAPSHOT))
continue;
minor = MINOR(lvd->lv_dev);