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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user