mirror of
git://sourceware.org/git/lvm2.git
synced 2025-08-02 04:22:02 +03:00
bcache: remove duplicate _wait_all call
Since the bcache_flush() is supposed to already use _wait_all() remove duplicated invoce of this function.
This commit is contained in:
@ -1181,7 +1181,6 @@ void bcache_destroy(struct bcache *cache)
|
||||
|
||||
if (!bcache_flush(cache))
|
||||
stack;
|
||||
_wait_all(cache);
|
||||
_exit_free_list(cache);
|
||||
radix_tree_destroy(cache->rtree);
|
||||
cache->engine->destroy(cache->engine);
|
||||
|
Reference in New Issue
Block a user