1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

debug: missing backtrace

This commit is contained in:
Zdenek Kabelac 2018-11-02 22:19:26 +01:00
parent 9d9979963f
commit 9a6f0e64f9
2 changed files with 4 additions and 2 deletions

View File

@ -1848,7 +1848,8 @@ void lvmcache_destroy(struct cmd_context *cmd, int retain_orphans, int reset)
if (retain_orphans) {
struct format_type *fmt;
lvmcache_init(cmd);
if (!lvmcache_init(cmd))
stack;
dm_list_iterate_items(fmt, &cmd->formats) {
if (!lvmcache_add_orphan_vginfo(fmt->orphan_vg_name, fmt))

View File

@ -1004,7 +1004,8 @@ void bcache_destroy(struct bcache *cache)
if (cache->nr_locked)
log_warn("some blocks are still locked");
bcache_flush(cache);
if (!bcache_flush(cache))
stack;
_wait_all(cache);
_exit_free_list(cache);
radix_tree_destroy(cache->rtree);