1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvcreate: --yes option for thin-pool vdo creation

Correct typo and accept proper --yes option instead
of misplaced --force option.
This commit is contained in:
Zdenek Kabelac 2024-05-03 16:16:16 +02:00
parent a98f908c23
commit 1f92fc2af7

View File

@ -743,7 +743,7 @@ static int _read_vdo_params(struct cmd_context *cmd,
lp->vcp.do_zero = 1; lp->vcp.do_zero = 1;
lp->vcp.do_wipe_signatures = lp->wipe_signatures; lp->vcp.do_wipe_signatures = lp->wipe_signatures;
lp->vcp.force = lp->force; lp->vcp.force = lp->force;
lp->vcp.yes = lp->force; lp->vcp.yes = lp->yes;
cmd->lvcreate_vcp = &lp->vcp; cmd->lvcreate_vcp = &lp->vcp;
} }