1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-30 01:47:56 +03:00

Skip virtual origins in process_each_lv_in_vg(). (mbroz)

This commit is contained in:
Alasdair Kergon 2009-05-27 13:23:41 +00:00
parent ea91a71bb9
commit 36a1d9e9b4
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -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;