All of lore.kernel.org
 help / color / mirror / Atom feed
* LVM2 ./WHATS_NEW tools/pvscan.c
@ 2010-05-07 15:24 agk
  0 siblings, 0 replies; only message in thread
From: agk @ 2010-05-07 15:24 UTC (permalink / raw)
  To: lvm-devel

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk at sourceware.org	2010-05-07 15:24:18

Modified files:
	.              : WHATS_NEW 
	tools          : pvscan.c 

Log message:
	Fix truncated total size displayed by pvscan.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1549&r2=1.1550
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/pvscan.c.diff?cvsroot=lvm2&r1=1.50&r2=1.51

--- LVM2/WHATS_NEW	2010/05/06 11:15:55	1.1549
+++ LVM2/WHATS_NEW	2010/05/07 15:24:17	1.1550
@@ -1,5 +1,6 @@
 Version 2.02.65 - 
 =================================
+  Fix truncated total size displayed by pvscan.
   Add new --sysinit option for vgchange and lvchange.
   Suppress duplicate error messages about read failures and missing devices.
   Install plugins to $(libdir)/device-mapper and $(libdir)/lvm2.
--- LVM2/tools/pvscan.c	2010/04/01 10:34:11	1.50
+++ LVM2/tools/pvscan.c	2010/05/07 15:24:18	1.51
@@ -166,7 +166,7 @@
 			size_new += pv_size(pv);
 			size_total += pv_size(pv);
 		} else
-			size_total += pv_pe_count(pv) * pv_pe_size(pv);
+			size_total += (uint64_t) pv_pe_count(pv) * pv_pe_size(pv);
 	}
 
 	/* find maximum pv name length */



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

only message in thread, other threads:[~2010-05-07 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 15:24 LVM2 ./WHATS_NEW tools/pvscan.c agk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.