1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/metadata
Dave Wysochanski 1d749d01fb Remove useless memory allocation for pv->vg_name in _alloc_pv().
All this seems to do is provide a memory leak so remove it.
The only caller of _alloc_pv() later explicitly sets
pv->vg_name = fmt->orphan_vg_name so clearly this allocation
should be removed.  I also saw no where in the code where
strncpy was used to assign pv->vg_name - only direct assignments
and strdup's.
2010-01-21 21:04:44 +00:00
..
lv_alloc.h Update a few more uint64_t's related to the 64-bit status change. 2009-12-04 17:48:32 +00:00
lv_manip.c Preload the origin prior to suspend IFF snapshot(s) still exist after a 2010-01-20 21:53:10 +00:00
merge.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
metadata-exported.h Rename segment and lv status flag from SNAPSHOT_MERGE to MERGING. 2010-01-13 01:56:18 +00:00
metadata.c Remove useless memory allocation for pv->vg_name in _alloc_pv(). 2010-01-21 21:04:44 +00:00
metadata.h Consolidate LV allocation into alloc_lv(). 2009-09-28 17:46:15 +00:00
mirror.c Revert so-called "redundant" log until after next release. 2010-01-12 14:00:51 +00:00
pv_alloc.h Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
pv_manip.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
pv_map.c Do not include MISSING_PVs in allocation maps. 2009-04-23 16:41:27 +00:00
pv_map.h Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h Improve target type compatibility checking in _percent_run(). 2010-01-15 16:35:26 +00:00
snapshot_manip.c Rename segment and lv status flag from SNAPSHOT_MERGE to MERGING. 2010-01-13 01:56:18 +00:00