1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix truncated total size displayed by pvscan.

This commit is contained in:
Alasdair Kergon 2010-05-07 15:24:17 +00:00
parent 0b0caec5f6
commit 1641fdf90c
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -166,7 +166,7 @@ int pvscan(struct cmd_context *cmd, int argc __attribute((unused)),
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 */