1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-23 21:35:29 +03:00

Remove an incorrect unlock_vg() from process_each_lv().

This commit is contained in:
Alasdair Kergon 2006-03-10 15:41:04 +00:00
parent 1273f179e8
commit 702f5f1f4c

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