1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-07-30 23:41:55 +03:00

Change the code throughout to use new pv_initialise and modified pv_setup fn.

Change pv_create code to work with these changes together with using new
pv_add_metadata_area fn to add metadata areas for a PV being created.
This commit is contained in:
Peter Rajnoha
2011-02-21 12:24:15 +00:00
parent 617b900d85
commit 94d91fdda1
8 changed files with 90 additions and 201 deletions

View File

@ -201,15 +201,6 @@ static int _pool_pv_initialise(const struct format_type *fmt __attribute__((unus
}
static int _pool_pv_setup(const struct format_type *fmt __attribute__((unused)),
uint64_t pe_start __attribute__((unused)),
uint32_t extent_count __attribute__((unused)),
uint32_t extent_size __attribute__((unused)),
unsigned long data_alignment __attribute__((unused)),
unsigned long data_alignment_offset __attribute__((unused)),
int pvmetadatacopies __attribute__((unused)),
uint64_t pvmetadatasize __attribute__((unused)),
unsigned metadataignore __attribute__((unused)),
struct dm_list *mdas __attribute__((unused)),
struct physical_volume *pv __attribute__((unused)),
struct volume_group *vg __attribute__((unused)))
{