1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +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 9f5d8283a9
commit 5fe8ef27da

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;