1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-10-05 07:33:15 +03:00

Remove hack in pvchange to unlock orphan VG.

With agk's recent changes, the lock/unlock APIs can properly handle
orphan VG names.
This commit is contained in:
Dave Wysochanski
2010-05-19 13:21:09 +00:00
parent 8f4a9e6a3e
commit 24a57a0b95

View File

@@ -263,9 +263,6 @@ int pvchange(struct cmd_context *cmd, int argc, char **argv)
pvl->pv,
NULL);
}
/* FIXME: we should be using #orphans_lvm2 everwhere */
if (is_orphan_vg(vg->name))
sll->str = VG_ORPHANS;
unlock_and_release_vg(cmd, vg, sll->str);
}
}