[lvm-devel] LVM2/lib/cache lvmcache.c
zkabelac at sourceware.org
zkabelac at sourceware.org
Tue Feb 28 11:08:04 UTC 2012
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at 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) {
More information about the lvm-devel
mailing list