1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-10-20 11:33:15 +03:00

Fix reporting of LV fields alongside unallocated PV segments.

This commit is contained in:
Alasdair Kergon
2008-06-25 16:52:27 +00:00
parent 5d5b575d16
commit a7fabfd8cb
7 changed files with 109 additions and 3 deletions

View File

@@ -755,6 +755,11 @@ static int _init_segtypes(struct cmd_context *cmd)
segtype->library = NULL;
list_add(&cmd->segtypes, &segtype->list);
if (!(segtype = init_free_segtype(cmd)))
return 0;
segtype->library = NULL;
list_add(&cmd->segtypes, &segtype->list);
#ifdef SNAPSHOT_INTERNAL
if (!(segtype = init_snapshot_segtype(cmd)))
return 0;