Bug#373644: FW: LVM2 ./WHATS_NEW tools/toollib.c
Alasdair G Kergon
agk at redhat.com
Wed Jun 14 20:29:00 UTC 2006
----- Forwarded message from agk at sourceware.org -----
Date: 14 Jun 2006 20:27:16 -0000
From: agk at sourceware.org
Subject: LVM2 ./WHATS_NEW tools/toollib.c
To: lvm2-cvs at sourceware.org
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2006-06-14 20:27:15
Modified files:
. : WHATS_NEW
tools : toollib.c
Log message:
Fix return code if VG specified on command line is not found.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.403&r2=1.404
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/toollib.c.diff?cvsroot=lvm2&r1=1.83&r2=1.84
--- LVM2/WHATS_NEW 2006/06/14 20:11:22 1.403
+++ LVM2/WHATS_NEW 2006/06/14 20:27:15 1.404
@@ -1,5 +1,6 @@
Version 2.02.07 -
=================================
+ Fix return code if VG specified on command line is not found.
Fix PV tools to include orphaned PVs in default output again.
Fixed unaligned access when using clvm.
Fix an extra dev_close in a label_read error path.
--- LVM2/tools/toollib.c 2006/05/11 18:39:24 1.83
+++ LVM2/tools/toollib.c 2006/06/14 20:27:15 1.84
@@ -413,7 +413,7 @@
if (!(vg = vg_read(cmd, vg_name, vgid, &consistent))) {
log_error("Volume group \"%s\" not found", vg_name);
unlock_vg(cmd, vg_name);
- return ret_max;
+ return ECMD_FAILED;
}
if (!list_empty(tags)) {
----- End forwarded message -----
More information about the pkg-lvm-maintainers
mailing list