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:
parent
d0e0cb9973
commit
47e1baf1e4
@ -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.
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user