mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
lvmetad: fix compiler warning and add WHATS_NEW line for previous commit
This commit is contained in:
parent
f14f2d4378
commit
e5709a32be
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.99 -
|
Version 2.02.99 -
|
||||||
===================================
|
===================================
|
||||||
|
Fix crash in pvscan --cache -aay triggered by non-mda PV.
|
||||||
Allow lvconvert --stripes/stripesize only with --mirrors/--repair/--thinpool.
|
Allow lvconvert --stripes/stripesize only with --mirrors/--repair/--thinpool.
|
||||||
Fix memleak in device_is_usable mirror testing function.
|
Fix memleak in device_is_usable mirror testing function.
|
||||||
Do not ignore -f in lvconvert --repair -y -f for mirror and raid volumes.
|
Do not ignore -f in lvconvert --repair -y -f for mirror and raid volumes.
|
||||||
|
@ -106,7 +106,7 @@ static int _auto_activation_handler(struct cmd_context *cmd,
|
|||||||
id_read_format(&vgid_raw, vgid);
|
id_read_format(&vgid_raw, vgid);
|
||||||
/* NB. This is safe because we know lvmetad is running and we won't hit
|
/* NB. This is safe because we know lvmetad is running and we won't hit
|
||||||
* disk. */
|
* disk. */
|
||||||
if (!(vg = vg_read_internal(cmd, NULL, &vgid_raw, 0, &consistent)))
|
if (!(vg = vg_read_internal(cmd, NULL, (const char *) &vgid_raw, 0, &consistent)))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if (vg_is_clustered(vg)) {
|
if (vg_is_clustered(vg)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user