lvm2/pvscan_2TB_limit.diff

12 lines
286 B
Diff

--- tools/pvscan.c
+++ tools/pvscan.c 2005/09/26 11:32:23
@@ -158,7 +158,7 @@
size_new += pv->size;
size_total += pv->size;
} else
- size_total += pv->pe_count * pv->pe_size;
+ size_total += (uint64_t)pv->pe_count * pv->pe_size;
}
/* find maximum pv name length */