All of lore.kernel.org
 help / color / mirror / Atom feed
* LVM2/lib/metadata pv_manip.c
@ 2011-02-21 13:09 prajnoha
  0 siblings, 0 replies; 2+ messages in thread
From: prajnoha @ 2011-02-21 13:09 UTC (permalink / raw)
  To: lvm-devel

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	prajnoha at sourceware.org	2011-02-21 13:09:27

Modified files:
	lib/metadata   : pv_manip.c 

Log message:
	%ld -> PRIu64

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/pv_manip.c.diff?cvsroot=lvm2&r1=1.26&r2=1.27

--- LVM2/lib/metadata/pv_manip.c	2011/02/21 12:27:26	1.26
+++ LVM2/lib/metadata/pv_manip.c	2011/02/21 13:09:27	1.27
@@ -436,7 +436,7 @@
 	uint32_t old_pe_count, new_pe_count = 0;
 
 	if (size < pv_min_size()) {
-		log_error("Size must exceed minimum of %ld sectors on PV %s.",
+		log_error("Size must exceed minimum of %" PRIu64 " sectors on PV %s.",
 			   pv_min_size(), pv_dev_name(pv));
 		return 0;
 	}



^ permalink raw reply	[flat|nested] 2+ messages in thread

* LVM2/lib/metadata pv_manip.c
@ 2011-04-12 22:04 snitzer
  0 siblings, 0 replies; 2+ messages in thread
From: snitzer @ 2011-04-12 22:04 UTC (permalink / raw)
  To: lvm-devel

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	snitzer at sourceware.org	2011-04-12 22:04:04

Modified files:
	lib/metadata   : pv_manip.c 

Log message:
	Use uint32_t rather than uint64_t.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/metadata/pv_manip.c.diff?cvsroot=lvm2&r1=1.29&r2=1.30

--- LVM2/lib/metadata/pv_manip.c	2011/04/12 21:59:01	1.29
+++ LVM2/lib/metadata/pv_manip.c	2011/04/12 22:04:04	1.30
@@ -193,7 +193,7 @@
 {
 	uint64_t discard_offset;
 	uint64_t pe_start = peg->pv->pe_start;
-	uint64_t discard_area_reduction = area_reduction;
+	uint32_t discard_area_reduction = area_reduction;
 
 	if (!peg->lvseg) {
 		log_error("release_pv_segment with unallocated segment: "



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-12 22:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-21 13:09 LVM2/lib/metadata pv_manip.c prajnoha
  -- strict thread matches above, loose matches on Subject: below --
2011-04-12 22:04 snitzer

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.