]> sourceware.org Git - lvm2.git/commitdiff
bcache: remove duplicate _wait_all call
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 26 Jan 2024 13:36:31 +0000 (14:36 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 19 Feb 2024 13:20:39 +0000 (14:20 +0100)
Since the  bcache_flush() is supposed to already use _wait_all()
remove duplicated invoce of this function.

lib/device/bcache.c

index 82b32644d85ed484d9a5d02e4bc45533e0161f6f..557c8b10ea82757777017cc6bf8b11b1c8d751fd 100644 (file)
@@ -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);
This page took 0.03888 seconds and 5 git commands to generate.