1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 11:55:55 +03:00
lvm2/lib/metadata
Milan Broz 920e68d603 Fix first_seg() call for empty segment list.
The seg variable is temporary variable for list iterator,
code cannot expect that after iteration it remains NULL
(it contains non-NULL pointer here id list is empty).

Patch fixes first_seg function so it now correctly returns NULL
for empty segment list.
2009-05-12 19:09:21 +00:00
..
lv_alloc.h Calculate mirror log size instead of hardcoding 1 extent size. 2008-12-19 15:24:52 +00:00
lv_manip.c Move metadata backup call after vg_commit. 2009-04-21 14:31:57 +00:00
merge.c Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
metadata-exported.h Add sparse devices: lvcreate -s --virtualoriginsize (hidden zero origin). 2009-04-25 01:17:59 +00:00
metadata.c Fix first_seg() call for empty segment list. 2009-05-12 19:09:21 +00:00
metadata.h Add sparse devices: lvcreate -s --virtualoriginsize (hidden zero origin). 2009-04-25 01:17:59 +00:00
mirror.c A more thorough PV equality test (that also copes better with MISSING_PVs) in 2009-04-23 16:43:01 +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 Right, a simple build (without options) is working again. 2008-11-03 22:14:30 +00:00
segtype.h Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
snapshot_manip.c Add sparse devices: lvcreate -s --virtualoriginsize (hidden zero origin). 2009-04-25 01:17:59 +00:00