LVM2/lib/activate activate.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2011-07-05 01:08:43
Modified files:
lib/activate : activate.c
Log message:
Snapshots LVs are never loaded in their own right, only along with their origin.
lib/activate/activate.c +1 -1
@@ -1112,7 +1112,7 @@struct lv_list *lvl_pre;if ((lvl_pre =find_lv_in_vg (detached->lv_pre->vg, lv->name))) { -if (lv_is_visible (lvl_pre->lv) &&lv_is_active (lv) && +if (lv_is_visible (lvl_pre->lv) &&lv_is_active (lv) && !lv_is_cow (lv) && !_lv_preload (lvl_pre->lv, detached->laopts, detached->flush_required)) return_0; }