[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/lib/cache lvmcache.c



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac sourceware org	2012-02-28 11:08:04

Modified files:
	lib/cache      : lvmcache.c 

Log message:
	Add stacktrace for init_lvmcache_orphans fail path

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/cache/lvmcache.c.diff?cvsroot=lvm2&r1=1.129&r2=1.130

--- LVM2/lib/cache/lvmcache.c	2012/02/28 10:10:07	1.129
+++ LVM2/lib/cache/lvmcache.c	2012/02/28 11:08:04	1.130
@@ -1628,7 +1628,8 @@
 	dm_list_init(&_vginfos);
 
 	if (retain_orphans)
-		init_lvmcache_orphans(cmd);
+		if (!init_lvmcache_orphans(cmd))
+			stack;
 }
 
 int lvmcache_pvid_is_locked(const char *pvid) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]