1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00
lvm2/lib/report
Zdenek Kabelac 55f6627427 Fix reading of released memory
lvseg_segtype_dup used memory pool vg memory pool for strind duplication.
However this one gets released before reporting happens so the command like:

pvs -o segtype

prints data from already released memory pool. Thanks to the fact there
is not much allocation happing after the VG is released, the memory
stays unmodified and correct result is printed.

Fix adds support for mempool passed parameter (like other similar
query commands) and uses dm_report memory pool for string duplication.
2011-03-05 12:14:00 +00:00
..
columns.h Add generic infrastructure to internal library to 'set' a property. 2010-11-17 19:15:10 +00:00
properties.c Fix reading of released memory 2011-03-05 12:14:00 +00:00
properties.h Add the macro and specific 'get' functions for pvsegs. 2010-11-17 20:11:27 +00:00
report.c Fix reading of released memory 2011-03-05 12:14:00 +00:00
report.h Separate PV label attributes which do not need parse metadata when reporting. 2009-02-09 09:45:49 +00:00