mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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:
parent
d19235993e
commit
d486b379d0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user