1
0
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:
Zdenek Kabelac 2024-01-26 14:36:31 +01:00
parent d19235993e
commit d486b379d0

View File

@ -1181,7 +1181,6 @@ void bcache_destroy(struct bcache *cache)
if (!bcache_flush(cache)) if (!bcache_flush(cache))
stack; stack;
_wait_all(cache);
_exit_free_list(cache); _exit_free_list(cache);
radix_tree_destroy(cache->rtree); radix_tree_destroy(cache->rtree);
cache->engine->destroy(cache->engine); cache->engine->destroy(cache->engine);