public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 lib/format1/import-export.c ./WHATS_NEW
@ 2008-04-22 11:47 agk
  0 siblings, 0 replies; only message in thread
From: agk @ 2008-04-22 11:47 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2008-04-22 11:47:22

Modified files:
	lib/format1    : import-export.c 
	.              : WHATS_NEW 

Log message:
	Fix metadata corruption writing lvm1-formatted metadata with snapshots.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/format1/import-export.c.diff?cvsroot=lvm2&r1=1.96&r2=1.97
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.855&r2=1.856

--- LVM2/lib/format1/import-export.c	2008/04/10 17:09:31	1.96
+++ LVM2/lib/format1/import-export.c	2008/04/22 11:47:22	1.97
@@ -284,7 +284,7 @@
 		vgd->vg_status |= VG_EXTENDABLE;
 
 	vgd->lv_max = vg->max_lv;
-	vgd->lv_cur = vg->lv_count;
+	vgd->lv_cur = vg->lv_count + vg->snapshot_count;
 
 	vgd->pv_max = vg->max_pv;
 	vgd->pv_cur = vg->pv_count;
--- LVM2/WHATS_NEW	2008/04/20 00:15:08	1.855
+++ LVM2/WHATS_NEW	2008/04/22 11:47:22	1.856
@@ -1,5 +1,6 @@
 Version 2.02.36 - 
 =================================
+  Fix metadata corruption writing lvm1-formatted metadata with snapshots.
   Add --prefixes to reporting tools for field name prefix output format.
   Fix lvconvert -m0 allocatable space check.
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-22 11:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-22 11:47 LVM2 lib/format1/import-export.c ./WHATS_NEW agk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).