Skip to contentSkip to conversation

LVM2 ./WHATS_NEW tools/vgmerge.c

PATCH [email protected] 1 participant 1 message Apr 23, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski at sourceware.org 2008-04-23 12:53:10

Modified files:
. : WHATS_NEW
tools : vgmerge.c

Log message:
Fix internal snapshot_count when vgmerge with snapshots in source VG.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.858&r2=1.859
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/vgmerge.c.diff?cvsroot=lvm2&r1=1.47&r2=1.48

WHATS_NEW +1 -0
@@ -1,5 +1,6 @@
 Version 2.02.36 - 
 =================================
+  Fix internal snapshot_count when vgmerge with snapshots in source VG.
   Simply clvmd-openais by using non-async saLckResourceLock.
   Check lv_count in vg_validate.
   Fix internal LV counter when a snapshot is removed.
tools/vgmerge.c +1 -0
@@ -99,6 +99,7 @@
 	}
 
 	vg_to->lv_count += vg_from->lv_count;
+	vg_to->snapshot_count += vg_from->snapshot_count;
 
 	vg_to->extent_count += vg_from->extent_count;
 	vg_to->free_count += vg_from->free_count;