1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-21 22:04:19 +03:00

Fix wrongly paired unlocking of global lock in pvchange. (2.02.66)

This commit is contained in:
Milan Broz 2010-12-23 14:23:30 +00:00
parent 39b2b95477
commit 65599cfb58
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.80 -
====================================
Fix wrongly paired unlocking of global lock in pvchange. (2.02.66)
Add backtraces for backup and backup_remove fail paths.
Detect errors from dm_task_set calls in _get_device_info (dmeventd).
Add backtraces for archive and backup_locally in check_current_backup().

View File

@ -288,9 +288,9 @@ int pvchange(struct cmd_context *cmd, int argc, char **argv)
unlock_and_free_vg(cmd, vg, sll->str);
}
}
unlock_vg(cmd, VG_GLOBAL);
}
unlock_vg(cmd, VG_GLOBAL);
log_print("%d physical volume%s changed / %d physical volume%s "
"not changed",
done, done == 1 ? "" : "s",