mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
fix 3rd copy
This commit is contained in:
parent
0b2a795ece
commit
3af1fa76eb
@ -670,7 +670,7 @@ void vgdisplay_colons(const struct volume_group *vg)
|
|||||||
active_pvs = vg->pv_count;
|
active_pvs = vg->pv_count;
|
||||||
|
|
||||||
list_iterate_items(lvl, &vg->lvs)
|
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++;
|
lv_count++;
|
||||||
|
|
||||||
switch (vg->status & (LVM_READ | LVM_WRITE)) {
|
switch (vg->status & (LVM_READ | LVM_WRITE)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user