]> sourceware.org Git - lvm2.git/commit
Tidy format1 import LV function.
authorMilan Broz <mbroz@redhat.com>
Wed, 13 May 2009 21:24:12 +0000 (21:24 +0000)
committerMilan Broz <mbroz@redhat.com>
Wed, 13 May 2009 21:24:12 +0000 (21:24 +0000)
commit286562d2020fbd61393c27745d4b3f47834e98f8
tree7997cda56af70bfa8cc2e0c298055944e56a9196
parentb83a1876ba8e953e52898bdf791a233c31eef857
Tidy format1 import LV function.

Later patch initializes lv->vg after the LV structure is prepared,
so pass through cmd context and do not use vg->cmd here.
Also move LV id calculation (which uses lv->vg too).

Also properly free memory pool if operation fails.
lib/format1/disk-rep.h
lib/format1/import-export.c
This page took 0.038275 seconds and 5 git commands to generate.