Skip to contentSkip to conversation

LVM2/lib/metadata pv_manip.c

PATCH [email protected] 1 participant 1 message Apr 12, 2011

lore
Share & tools
lore
#0 lore raw

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

lib/metadata/pv_manip.c +1 -1
@@ -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: "