From bf1b684e2ee52d9754be26ce92f2a040424809d5 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 20 Feb 2002 21:24:45 +0000 Subject: [PATCH] lvd->lv_access & LV_SNAPSHOT not lvd->lv_status --- 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 dee4b8883..824f23bff 100644 --- a/lib/format1/import-export.c +++ b/lib/format1/import-export.c @@ -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);