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:
parent
b6afcf6458
commit
bf1b684e2e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user