1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Allow for vginfo changing during _vg_read.

This commit is contained in:
Alasdair Kergon 2008-06-06 09:48:04 +00:00
parent 12ea7cb133
commit 57d0dc0db2
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ Version 2.02.38 -
Version 2.02.37 - Version 2.02.37 -
================================= =================================
Allow for vginfo changing during _vg_read.
Decode numbers in clvmd debugging output. Decode numbers in clvmd debugging output.
Add missing deactivation after activation failure in lvcreate -Zy. Add missing deactivation after activation failure in lvcreate -Zy.
When activating, if precommitted metadata is still cached, assume it's live. When activating, if precommitted metadata is still cached, assume it's live.

View File

@ -1757,7 +1757,7 @@ static struct volume_group *_vg_read_by_vgid(struct cmd_context *cmd,
!strncmp((char *)vg->id.uuid, vgid, ID_LEN)) { !strncmp((char *)vg->id.uuid, vgid, ID_LEN)) {
if (!consistent) { if (!consistent) {
log_error("Volume group %s metadata is " log_error("Volume group %s metadata is "
"inconsistent", vginfo->vgname); "inconsistent", vg->name);
if (!partial_mode()) if (!partial_mode())
return NULL; return NULL;
} }