From 500289229af891be354b49cc91bb73206ccfaec4 Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Mon, 9 Mar 2009 15:42:10 +0000 Subject: [PATCH] Fix error messages when PV uuid or pe_start reading fails. Author: Takahiro Yasui Committer: Dave Wysochanski --- WHATS_NEW | 1 + lib/format_text/import_vsn1.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index 0b966510b..9bdaf81a4 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ 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. Flush memory pool and fix locking in clvmd refresh and backup command. Fix unlocks in clvmd-corosync. Broken in 2.02.45. diff --git a/lib/format_text/import_vsn1.c b/lib/format_text/import_vsn1.c index b7d06af53..916d59a06 100644 --- a/lib/format_text/import_vsn1.c +++ b/lib/format_text/import_vsn1.c @@ -179,7 +179,7 @@ static int _read_pv(struct format_instance *fid, struct dm_pool *mem, } 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; } @@ -213,7 +213,7 @@ static int _read_pv(struct format_instance *fid, struct dm_pool *mem, _read_int64(pvn, "dev_size", &pv->size); 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; }