mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-25 18:50:51 +03:00
Remove another pvchange hack involving orphan VG names.
Unnecessary as a result of recent changes.
This commit is contained in:
parent
24a57a0b95
commit
a5f0b044bf
@ -229,9 +229,6 @@ int pvchange(struct cmd_context *cmd, int argc, char **argv)
|
||||
total++;
|
||||
done += _pvchange_single(cmd, vg,
|
||||
pvl->pv, NULL);
|
||||
/* FIXME: we should be using #orphans_lvm2 everwhere */
|
||||
if (is_orphan_vg(vg->name))
|
||||
vg_name = VG_ORPHANS;
|
||||
unlock_and_release_vg(cmd, vg, vg_name);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user