From: Dave Wysochanski Date: Mon, 28 Jun 2010 20:32:21 +0000 (+0000) Subject: Use vg_mda_count() in vgdisplay. X-Git-Tag: v2_02_91~1800 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=6b596f685fbe4356b71e4737b11a94f7897c71cd;p=lvm2.git Use vg_mda_count() in vgdisplay. Signed-off-by: Dave Wysochanski --- diff --git a/lib/display/display.c b/lib/display/display.c index a83532732..7a8e32526 100644 --- a/lib/display/display.c +++ b/lib/display/display.c @@ -664,7 +664,7 @@ void vgdisplay_full(const struct volume_group *vg) log_print("Format %s", vg->fid->fmt->name); if (vg->fid->fmt->features & FMT_MDAS) { log_print("Metadata Areas %d", - dm_list_size(&vg->fid->metadata_areas)); + vg_mda_count(vg)); log_print("Metadata Sequence No %d", vg->seqno); } access_str = vg->status & (LVM_READ | LVM_WRITE);