]> 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)
commit494b4cec7b07517abd55f019966f57dc09f80d8d
tree7997cda56af70bfa8cc2e0c298055944e56a9196
parentd60f341d9639f9cbb3e1ffa42097626ff56a82f2
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.03289 seconds and 5 git commands to generate.