This is the mail archive of the
lvm2-cvs@sourceware.org
mailing list for the LVM2 project.
LVM2/lib/display display.c
- From: wysochanski at sourceware dot org
- To: lvm-devel at redhat dot com, lvm2-cvs at sourceware dot org
- Date: 31 May 2007 20:26:12 -0000
- Subject: LVM2/lib/display display.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: wysochanski@sourceware.org 2007-05-31 20:26:12
Modified files:
lib/display : display.c
Log message:
Fix pvdisplay --maps to not display segment header for orphan PVs.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/display/display.c.diff?cvsroot=lvm2&r1=1.74&r2=1.75
--- LVM2/lib/display/display.c 2007/05/31 20:10:25 1.74
+++ LVM2/lib/display/display.c 2007/05/31 20:26:11 1.75
@@ -262,7 +262,8 @@
{
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:",