diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c index c1bba03db..c5e63a923 100644 --- a/lib/metadata/lv_manip.c +++ b/lib/metadata/lv_manip.c @@ -8010,7 +8010,7 @@ deactivate_and_revert_new_lv: revert_new_lv: lockd_lv(cmd, lv, "un", LDLV_PERSISTENT); - lockd_free_lv(vg->cmd, vg, lp->lv_name, &lv->lvid.id[1], lv->lock_args); + lockd_free_lv(vg->cmd, vg, lv->name, &lv->lvid.id[1], lv->lock_args); /* FIXME Better to revert to backup of metadata? */ if (!lv_remove(lv) || !vg_write(vg) || !vg_commit(vg))