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

cleanup: WHATS_NEW + compiler warning about discarding const

This commit is contained in:
Peter Rajnoha 2013-10-10 09:07:42 +02:00
parent 7d299ecbb3
commit 304159c99a
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Version 2.02.104
===================================
Fix possible race during daemon worker thread creation (lvmetad).
Fix possible deadlock while clearing lvmetad cache for full rescan.
Fix possible race while creating/destroying memory pools.
Recognise NVM Express devices in filter.
Fix failing metadata repair when lvmetad is used.
Fix incorrect memory handling when reading messages from lvmetad.

View File

@ -796,7 +796,7 @@ static response pv_gone(lvmetad_state *s, request r)
pvmeta = dm_hash_lookup(s->pvid_to_pvmeta, pvid);
pvid_old = dm_hash_lookup_binary(s->device_to_pvid, &device, sizeof(device));
const char *vgid = dm_hash_lookup(s->pvid_to_vgid, pvid);
char *vgid = dm_hash_lookup(s->pvid_to_vgid, pvid);
if (vgid && !(vgid = dm_strdup(vgid))) {
unlock_pvid_to_pvmeta(s);