diff --git a/WHATS_NEW b/WHATS_NEW index 48218bd3c..23fce5f9a 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.48 - =============================== + Skip virtual origins in process_each_lv_in_vg(). Fix counting of virtual origin LVs in vg_validate. Attempt to load dm-zero module if zero target needed but not present. diff --git a/tools/toollib.c b/tools/toollib.c index 7f9eef17f..fed240658 100644 --- a/tools/toollib.c +++ b/tools/toollib.c @@ -122,6 +122,9 @@ int process_each_lv_in_vg(struct cmd_context *cmd, if (lvl->lv->status & SNAPSHOT) continue; + if (lv_is_virtual_origin(lvl->lv)) + continue; + /* Should we process this LV? */ if (process_all) process_lv = 1;