]> sourceware.org Git - lvm2.git/commitdiff
Skip virtual origins in process_each_lv_in_vg(). (mbroz)
authorAlasdair Kergon <agk@redhat.com>
Wed, 27 May 2009 13:23:41 +0000 (13:23 +0000)
committerAlasdair Kergon <agk@redhat.com>
Wed, 27 May 2009 13:23:41 +0000 (13:23 +0000)
WHATS_NEW
tools/toollib.c

index 48218bd3ca97084ed63791ebc0d34cbc000f5a2c..23fce5f9a0fcd1e3d280a8e33fca60fe3dddaa02 100644 (file)
--- 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.
 
index 7f9eef17fd540764f2753950e2efc0b942762875..fed240658f2b6ddd0a19a01ba548a3cae53a24a8 100644 (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;
This page took 0.04189 seconds and 5 git commands to generate.