diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2010-06-30 12:17:24 +0000 |
---|---|---|
committer | Dave Wysochanski <dwysocha@redhat.com> | 2010-06-30 12:17:24 +0000 |
commit | a5bf70018bb25415585c8d027729eb0ec4f186f6 (patch) | |
tree | 186b399b0db15e4e46fc4bd1426e3224d97046a2 /lib/format_text/format-text.h | |
parent | 6af51555294928030872b866046d9275e8d5e533 (diff) | |
download | lvm2-a5bf70018bb25415585c8d027729eb0ec4f186f6.tar.gz lvm2-a5bf70018bb25415585c8d027729eb0ec4f186f6.tar.xz lvm2-a5bf70018bb25415585c8d027729eb0ec4f186f6.zip |
Add --metadataignore to pvcreate.
Allow metadataignore flag to be passed in to pvcreate.
Ideally, more refactoring of the mda allocation / initialization
is warranted, but for now, we just add another parameter to 'add_mda'
to take an existing mda ignored flag. We need to do this or pv_write
loses the state of the mda 'ignored' flag before copying and writing
to disk.
Diffstat (limited to 'lib/format_text/format-text.h')
-rw-r--r-- | lib/format_text/format-text.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/format_text/format-text.h b/lib/format_text/format-text.h index eaf1e835..79365eaf 100644 --- a/lib/format_text/format-text.h +++ b/lib/format_text/format-text.h @@ -56,7 +56,7 @@ int add_da(struct dm_pool *mem, struct dm_list *das, void del_das(struct dm_list *das); int add_mda(const struct format_type *fmt, struct dm_pool *mem, struct dm_list *mdas, - struct device *dev, uint64_t start, uint64_t size); + struct device *dev, uint64_t start, uint64_t size, unsigned ignored); void del_mdas(struct dm_list *mdas); #endif |