]> sourceware.org Git - lvm2.git/commitdiff
Remove an incorrect unlock_vg() from process_each_lv().
authorAlasdair Kergon <agk@redhat.com>
Fri, 10 Mar 2006 15:41:04 +0000 (15:41 +0000)
committerAlasdair Kergon <agk@redhat.com>
Fri, 10 Mar 2006 15:41:04 +0000 (15:41 +0000)
tools/toollib.c

index f4a11554b6186c07ff5ca3d68033e02f35f2c137..90805a6f6c0452239e7ffbcc92dc8187a793539f 100644 (file)
@@ -250,7 +250,6 @@ int process_each_lv(struct cmd_context *cmd, int argc, char **argv,
                                log_error("Volume group \"%s\" "
                                          "inconsistent", vgname);
                        if (!vg || !(vg = recover_vg(cmd, vgname, lock_type))) {
-                               unlock_vg(cmd, vgname);
                                if (ret_max < ECMD_FAILED)
                                        ret_max = ECMD_FAILED;
                                continue;
This page took 0.036565 seconds and 5 git commands to generate.