]> git.proxmox.com Git - mirror_qemu.git/commit
nbd: Remove nbd_co_flush() wrapper function
authorKevin Wolf <kwolf@redhat.com>
Thu, 4 May 2023 11:57:39 +0000 (13:57 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 10 May 2023 12:16:53 +0000 (14:16 +0200)
commit5d934513f8ca21f48709103991099c25f7bf9f6c
treec0dcc6c1ac22310b1617e5b539dd8a6d4be5f0e2
parent1a30b0f5d76f842576de2ab9a29ab9e8a7c9eb09
nbd: Remove nbd_co_flush() wrapper function

The only thing nbd_co_flush() does is call nbd_client_co_flush(). Just
use that function directly in the BlockDriver definitions and remove the
wrapper.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20230504115750.54437-10-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/nbd.c