1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvmetad: fix compiler warning and add WHATS_NEW line for previous commit

This commit is contained in:
Peter Rajnoha 2012-12-12 13:27:25 +01:00
parent f14f2d4378
commit e5709a32be
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.99 -
===================================
Fix crash in pvscan --cache -aay triggered by non-mda PV.
Allow lvconvert --stripes/stripesize only with --mirrors/--repair/--thinpool.
Fix memleak in device_is_usable mirror testing function.
Do not ignore -f in lvconvert --repair -y -f for mirror and raid volumes.

View File

@ -106,7 +106,7 @@ static int _auto_activation_handler(struct cmd_context *cmd,
id_read_format(&vgid_raw, vgid);
/* NB. This is safe because we know lvmetad is running and we won't hit
* 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;
if (vg_is_clustered(vg)) {