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

Fix error messages when PV uuid or pe_start reading fails.

Author: Takahiro Yasui <tyasui@redhat.com>
Committer: Dave Wysochanski <dwysocha@redhat.com>
This commit is contained in:
Dave Wysochanski 2009-03-09 15:42:10 +00:00
parent d0e0cb9973
commit 47e1baf1e4
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.02.46 - Version 2.02.46 -
================================ ================================
Fix error messages when PV uuid or pe_start reading fails.
Rename liblvm.a to liblvm-internal.a and build new application library. Rename liblvm.a to liblvm-internal.a and build new application library.
Flush memory pool and fix locking in clvmd refresh and backup command. Flush memory pool and fix locking in clvmd refresh and backup command.
Fix unlocks in clvmd-corosync. Broken in 2.02.45. Fix unlocks in clvmd-corosync. Broken in 2.02.45.

View File

@ -179,7 +179,7 @@ static int _read_pv(struct format_instance *fid, struct dm_pool *mem,
} }
if (!_read_id(&pv->id, pvn, "id")) { if (!_read_id(&pv->id, pvn, "id")) {
log_error("Couldn't read uuid for volume group."); log_error("Couldn't read uuid for physical volume.");
return 0; return 0;
} }
@ -213,7 +213,7 @@ static int _read_pv(struct format_instance *fid, struct dm_pool *mem,
_read_int64(pvn, "dev_size", &pv->size); _read_int64(pvn, "dev_size", &pv->size);
if (!_read_int64(pvn, "pe_start", &pv->pe_start)) { if (!_read_int64(pvn, "pe_start", &pv->pe_start)) {
log_error("Couldn't read extent size for volume group."); log_error("Couldn't read extent size for physical volume.");
return 0; return 0;
} }