master - cleanup: WHATS_NEW + compiler warning about discarding const
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=304159c99ab59c61543cac747e47a1ff59d2dbb6 Commit: 304159c99ab59c61543cac747e47a1ff59d2dbb6 Parent: 7d299ecbb3a56f1633f17f746f864c02cd344c85 Author: Peter Rajnoha <[email protected]> AuthorDate: Thu Oct 10 09:07:42 2013 +0200 Committer: Peter Rajnoha <[email protected]> CommitterDate: Thu Oct 10 09:09:16 2013 +0200
cleanup: WHATS_NEW + compiler warning about discarding const
--- WHATS_NEW | 3 +++ daemons/lvmetad/lvmetad-core.c | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-)
WHATS_NEW +3 -0
@@ -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.
daemons/lvmetad/lvmetad-core.c +1 -1
@@ -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);