diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2011-02-25 14:12:14 +0000 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2011-02-25 14:12:14 +0000 |
commit | 4b8f066c190dfb6bdc68cefce1788db87bcccc7c (patch) | |
tree | a99145d9829b977a762492fa9c56fa609c705f0d /lib/format1 | |
parent | 4a304dc1d8a8510f57f8a9ecd447e07f4a792fbd (diff) | |
download | lvm2-4b8f066c190dfb6bdc68cefce1788db87bcccc7c.tar.gz lvm2-4b8f066c190dfb6bdc68cefce1788db87bcccc7c.tar.xz lvm2-4b8f066c190dfb6bdc68cefce1788db87bcccc7c.zip |
vgconvert is fixed now to work with the changes in metadata area handling - enable the tests.
Add a small fix that preserves pe_start for lvm1 PVs when being converted.
(this fix needs to be replaced with something more clever, but let's have this working now)
Diffstat (limited to 'lib/format1')
-rw-r--r-- | lib/format1/format1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/format1/format1.c b/lib/format1/format1.c index c49226f8..9011982f 100644 --- a/lib/format1/format1.c +++ b/lib/format1/format1.c @@ -400,7 +400,7 @@ static int _format1_pv_initialise(const struct format_type * fmt, static int _format1_pv_setup(const struct format_type *fmt, struct physical_volume *pv, - struct volume_group *vg __attribute__((unused))) + struct volume_group *vg) { return _format1_pv_initialise(fmt, -1, 0, 0, vg->extent_size, 0, 0, pv); } |