mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Add stacktrace for init_lvmcache_orphans fail path
This commit is contained in:
parent
bd046f0201
commit
d13b5db28e
3
lib/cache/lvmcache.c
vendored
3
lib/cache/lvmcache.c
vendored
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user