]> sourceware.org Git - lvm2.git/commitdiff
Use vg_mda_count() in vgdisplay.
authorDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:32:21 +0000 (20:32 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:32:21 +0000 (20:32 +0000)
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
lib/display/display.c

index a835327326410dee3b3529e766bbca0d8579b301..7a8e32526233cfa0e6b29a92bd93dcd525b9cb5d 100644 (file)
@@ -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);
This page took 0.040445 seconds and 5 git commands to generate.