unsigned metadataignore)
{
const struct format_type *fmt = cmd->fmt;
- struct format_instance_ctx fic;
- struct format_instance *fid;
struct dm_pool *mem = fmt->cmd->mem;
struct physical_volume *pv = _alloc_pv(mem, dev);
unsigned mda_index;
int warnings,
const char *orphan_vgname)
{
- struct format_instance_ctx fic;
- struct format_instance *fid;
const struct format_type *fmt;
struct lvmcache_vginfo *vginfo;
struct volume_group *vg = NULL;
lvmcache_foreach_pv(vginfo, _vg_read_orphan_pv, &baton);
return vg;
-bad:
- return NULL;
}
static int _update_pv_list(struct dm_pool *pvmem, struct dm_list *all_pvs, struct volume_group *vg)
int warnings, int scan_label_only)
{
struct physical_volume *pv;
- struct format_instance_ctx fic;
struct label *label;
struct lvmcache_info *info;
struct device *dev;