1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/lib/metadata
Zdenek Kabelac aec2115410 Const fixing
Fixing some const warnings - with API change in:

int vg_extend(struct volume_group *vg, int pv_count, const char *const *pv_names,

Change is needed - as lvm2api expects const behaviour here.
So vg_extend() is doing local strdup for unescaping.

skip_dev_dir return const char* from const char* vg_name.

Rest of the patch is cleanup of related warnings.

Also using dm_report_filed_string() API change to simplify
casting in _string_disp and _lvname_disp.
2011-02-18 14:47:28 +00:00
..
lv_alloc.h Fix pvmove allocation to take existing parallel stripes into account. 2010-04-08 00:28:57 +00:00
lv_manip.c Const fixing 2011-02-18 14:47:28 +00:00
lv.c Refactor the percent (mirror sync, snapshot usage) handling code to use 2010-11-30 11:53:31 +00:00
lv.h Const fixing 2011-02-18 14:47:28 +00:00
merge.c Replicator: check replicator segment 2010-05-21 12:43:02 +00:00
metadata-exported.h Const fixing 2011-02-18 14:47:28 +00:00
metadata.c Const fixing 2011-02-18 14:47:28 +00:00
metadata.h Replace PV_MIN_SIZE with function pv_min_size() 2011-02-18 14:11:22 +00:00
mirror.c Const fixing 2011-02-18 14:47:28 +00:00
pv_alloc.h Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
pv_manip.c Fix all segments memory is allocated from vg private mempool. 2010-03-31 17:23:18 +00:00
pv_map.c Allow ALLOC_ANYWHERE to split contiguous areas. 2010-03-25 21:19:26 +00:00
pv_map.h Remove superfluous fn prototypes. 2010-07-09 15:21:10 +00:00
pv.c Fix copyright dates on new files lib/metadata/{lv|vg|pv}.[ch]. 2010-09-30 20:47:18 +00:00
pv.h fix header #defines 2010-10-25 12:01:59 +00:00
replicator_manip.c Rename vg_release to free_vg. 2010-12-08 20:50:48 +00:00
segtype.c Handle metadata with unknown segment types more gracefully. 2009-10-16 17:41:49 +00:00
segtype.h Remove const usage from destroy callbacks 2010-12-20 13:32:49 +00:00
snapshot_manip.c When removing a snapshot avoid preloading the origin if the 2010-04-23 02:57:39 +00:00
vg.c pre-release 2010-10-25 13:54:29 +00:00
vg.h Use const char * for name and old_name in vg 2010-12-20 13:40:46 +00:00