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:
parent
9d9979963f
commit
9a6f0e64f9
3
lib/cache/lvmcache.c
vendored
3
lib/cache/lvmcache.c
vendored
@ -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))
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user