]> sourceware.org Git - lvm2.git/commit
Add mda location specific mda_copy constructor.
authorDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:31:59 +0000 (20:31 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:31:59 +0000 (20:31 +0000)
commitd4f0f090c0d01f8bc4eccca4179d4f3a935788c6
tree70643622fa0f4dac5d5510a9695ff93bfaab9e59
parente56f421490798a955d97f7af74a8ec86b2ff34e3
Add mda location specific mda_copy constructor.

Because of the way mdas are handled internally, where a PV in a VG
has mdas on both info->mdas and vg->fid->metadata_areas list, we
need a location independent copy constructor for struct
metadata_area.  Break up the existing format-text specific copy
constructor into a format independent piece and a format dependent
piece.

This function is necessary to properly implement pv_set_mda_ignored().

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Reviewed-by: Alasdair G Kergon <agk@redhat.com>
lib/format_text/format-text.c
lib/metadata/metadata.c
lib/metadata/metadata.h
This page took 0.029802 seconds and 5 git commands to generate.