mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
Use vg_mda_count() in vgdisplay.
Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
This commit is contained in:
parent
ef4fa155a5
commit
6b596f685f
@ -664,7 +664,7 @@ void vgdisplay_full(const struct volume_group *vg)
|
|||||||
log_print("Format %s", vg->fid->fmt->name);
|
log_print("Format %s", vg->fid->fmt->name);
|
||||||
if (vg->fid->fmt->features & FMT_MDAS) {
|
if (vg->fid->fmt->features & FMT_MDAS) {
|
||||||
log_print("Metadata Areas %d",
|
log_print("Metadata Areas %d",
|
||||||
dm_list_size(&vg->fid->metadata_areas));
|
vg_mda_count(vg));
|
||||||
log_print("Metadata Sequence No %d", vg->seqno);
|
log_print("Metadata Sequence No %d", vg->seqno);
|
||||||
}
|
}
|
||||||
access_str = vg->status & (LVM_READ | LVM_WRITE);
|
access_str = vg->status & (LVM_READ | LVM_WRITE);
|
||||||
|
Loading…
Reference in New Issue
Block a user