1
0
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:
Dave Wysochanski 2010-05-19 15:34:10 +00:00
parent 24a57a0b95
commit a5f0b044bf

View File

@ -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 {