This is the mail archive of the lvm2-cvs@sourceware.org mailing list for the LVM2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

LVM2 ./WHATS_NEW lib/label/label.c


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2006-06-08 22:15:49

Modified files:
	.              : WHATS_NEW 
	lib/label      : label.c 

Log message:
	Fix an extra dev_close in a label_read error path.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.396&r2=1.397
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/label/label.c.diff?cvsroot=lvm2&r1=1.33&r2=1.34

Full Patch:
--- LVM2/WHATS_NEW	2006/06/06 17:44:11	1.396
+++ LVM2/WHATS_NEW	2006/06/08 22:15:49	1.397
@@ -1,5 +1,6 @@
 Version 2.02.07 -
 =================================
+  Fix an extra dev_close in a label_read error path.
   Append patches to commit emails.
   Fix target_register_events args.
   Prevent snapshots of mirrors.
--- LVM2/lib/label/label.c	2006/05/09 21:23:50	1.33
+++ LVM2/lib/label/label.c	2006/06/08 22:15:49	1.34
@@ -271,7 +271,7 @@
 			lvmcache_update_vgname_and_id(info, ORPHAN, ORPHAN,
 						      0, NULL);
 
-		goto out;
+		return r;
 	}
 
 	if (!(l = _find_labeller(dev, buf, &sector)))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]