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:
parent
f1813b1cc6
commit
6768f64e2f
@ -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:",
|
||||
|
Loading…
x
Reference in New Issue
Block a user