mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Fix uninitialised lv_count in vgdisplay -c
This commit is contained in:
parent
615de1b59b
commit
89ef434fe0
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.44 -
|
Version 2.02.44 -
|
||||||
====================================
|
====================================
|
||||||
|
Fix uninitialised lv_count in vgdisplay -c.
|
||||||
Don't skip updating pvid hash when lvmcache_info struct got swapped.
|
Don't skip updating pvid hash when lvmcache_info struct got swapped.
|
||||||
Add tinfo to termcap search path for pld-linux.
|
Add tinfo to termcap search path for pld-linux.
|
||||||
Fix startup race in clvmd.
|
Fix startup race in clvmd.
|
||||||
|
@ -656,7 +656,7 @@ void vgdisplay_full(const struct volume_group *vg)
|
|||||||
void vgdisplay_colons(const struct volume_group *vg)
|
void vgdisplay_colons(const struct volume_group *vg)
|
||||||
{
|
{
|
||||||
uint32_t active_pvs;
|
uint32_t active_pvs;
|
||||||
uint32_t lv_count;
|
uint32_t lv_count = 0;
|
||||||
struct lv_list *lvl;
|
struct lv_list *lvl;
|
||||||
const char *access_str;
|
const char *access_str;
|
||||||
char uuid[64] __attribute((aligned(8)));
|
char uuid[64] __attribute((aligned(8)));
|
||||||
|
Loading…
Reference in New Issue
Block a user