diff options
author | Milan Broz <mbroz@redhat.com> | 2009-05-13 21:22:57 +0000 |
---|---|---|
committer | Milan Broz <mbroz@redhat.com> | 2009-05-13 21:22:57 +0000 |
commit | d60f341d9639f9cbb3e1ffa42097626ff56a82f2 (patch) | |
tree | b1ea90966f669cbb0adaaabf2c89ed05a660f72e /tools/vgmerge.c | |
parent | 4b13d5a8238574d9af53b9131456d1f03f8d627e (diff) | |
download | lvm2-d60f341d9639f9cbb3e1ffa42097626ff56a82f2.tar.gz |
Remove vg->lv_count and use counter function.
This should not cause problems but simplifies code a lot.
(the volumes_count is merged and renamed with lvs_visible
function by following patch.)
Diffstat (limited to 'tools/vgmerge.c')
-rw-r--r-- | tools/vgmerge.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/vgmerge.c b/tools/vgmerge.c index 8b85c7af3..57a700e13 100644 --- a/tools/vgmerge.c +++ b/tools/vgmerge.c @@ -101,7 +101,6 @@ static int _vgmerge_single(struct cmd_context *cmd, const char *vg_name_to, dm_list_move(&vg_to->fid->metadata_areas, mdah); } - vg_to->lv_count += vg_from->lv_count; vg_to->extent_count += vg_from->extent_count; vg_to->free_count += vg_from->free_count; |