1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-26 14:04:15 +03:00

Fix pvdisplay --maps to not display segment header for orphan PVs.

This commit is contained in:
Dave Wysochanski 2007-05-31 20:26:11 +00:00
parent f1813b1cc6
commit 6768f64e2f

View File

@ -262,7 +262,8 @@ void pvdisplay_segments(struct physical_volume *pv)
{
struct pv_segment *pvseg;
log_print("--- Physical Segments ---");
if (pv->pe_size)
log_print("--- Physical Segments ---");
list_iterate_items(pvseg, &pv->segments) {
log_print("Physical extent %u to %u:",