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:
parent
ea91a71bb9
commit
36a1d9e9b4
@ -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.
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user