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:
parent
9f5d8283a9
commit
5fe8ef27da
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user