1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

Add stacktrace for init_lvmcache_orphans fail path

This commit is contained in:
Zdenek Kabelac 2012-02-28 11:08:04 +00:00
parent bd046f0201
commit d13b5db28e

View File

@ -1628,7 +1628,8 @@ void lvmcache_destroy(struct cmd_context *cmd, int retain_orphans)
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) {