mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +03:00
cleanup: WHATS_NEW + compiler warning about discarding const
This commit is contained in:
parent
7d299ecbb3
commit
304159c99a
@ -1,5 +1,8 @@
|
|||||||
Version 2.02.104
|
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.
|
Recognise NVM Express devices in filter.
|
||||||
Fix failing metadata repair when lvmetad is used.
|
Fix failing metadata repair when lvmetad is used.
|
||||||
Fix incorrect memory handling when reading messages from lvmetad.
|
Fix incorrect memory handling when reading messages from lvmetad.
|
||||||
|
@ -796,7 +796,7 @@ static response pv_gone(lvmetad_state *s, request r)
|
|||||||
|
|
||||||
pvmeta = dm_hash_lookup(s->pvid_to_pvmeta, pvid);
|
pvmeta = dm_hash_lookup(s->pvid_to_pvmeta, pvid);
|
||||||
pvid_old = dm_hash_lookup_binary(s->device_to_pvid, &device, sizeof(device));
|
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))) {
|
if (vgid && !(vgid = dm_strdup(vgid))) {
|
||||||
unlock_pvid_to_pvmeta(s);
|
unlock_pvid_to_pvmeta(s);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user