1
0
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:
Peter Rajnoha 2009-04-26 08:12:12 +00:00
parent 87f42fda5e
commit 7833b01291

View File

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