mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Fix wrong arg in lv_is_virtual_origin call while creating snapshots.
This commit is contained in:
parent
87f42fda5e
commit
7833b01291
@ -725,7 +725,7 @@ static int _lvcreate(struct cmd_context *cmd, struct volume_group *vg,
|
||||
lp->origin);
|
||||
return 0;
|
||||
}
|
||||
if (lv_is_virtual_origin(lv)) {
|
||||
if (lv_is_virtual_origin(org)) {
|
||||
log_error("Can't share virtual origins. "
|
||||
"Use --virtualoriginsize.");
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user