mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-11 20:58:50 +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);
|
dm_list_init(&_vginfos);
|
||||||
|
|
||||||
if (retain_orphans)
|
if (retain_orphans)
|
||||||
init_lvmcache_orphans(cmd);
|
if (!init_lvmcache_orphans(cmd))
|
||||||
|
stack;
|
||||||
}
|
}
|
||||||
|
|
||||||
int lvmcache_pvid_is_locked(const char *pvid) {
|
int lvmcache_pvid_is_locked(const char *pvid) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user