]> sourceware.org Git - lvm2.git/commitdiff
missing vg_revert
authorAlasdair Kergon <agk@redhat.com>
Mon, 31 Oct 2005 15:43:11 +0000 (15:43 +0000)
committerAlasdair Kergon <agk@redhat.com>
Mon, 31 Oct 2005 15:43:11 +0000 (15:43 +0000)
tools/lvrename.c

index fa499a8fbbf450fdb3ea034c2a743e6b80e58889..b55c774a3eed0615a26d5afac0bee2a27879388f 100644 (file)
@@ -160,6 +160,7 @@ int lvrename(struct cmd_context *cmd, int argc, char **argv)
 
        if (!suspend_lv(cmd, lv)) {
                stack;
+               vg_revert(vg);
                goto error;
        }
 
This page took 0.035364 seconds and 5 git commands to generate.