1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00

fix 3rd copy

This commit is contained in:
Alasdair Kergon 2008-04-10 19:16:35 +00:00
parent 0b2a795ece
commit 3af1fa76eb

View File

@ -670,7 +670,7 @@ void vgdisplay_colons(const struct volume_group *vg)
active_pvs = vg->pv_count;
list_iterate_items(lvl, &vg->lvs)
if (lv_is_visible(lvl->lv) || (lvl->lv->status & SNAPSHOT))
if (lv_is_visible(lvl->lv) && !(lvl->lv->status & SNAPSHOT))
lv_count++;
switch (vg->status & (LVM_READ | LVM_WRITE)) {