OSDN Git Service

block: Move bdrv_drain_all_end_quiesce() to block_int.h
authorGreg Kurz <groug@kaod.org>
Wed, 28 Oct 2020 08:07:34 +0000 (09:07 +0100)
committerMax Reitz <mreitz@redhat.com>
Mon, 9 Nov 2020 14:44:21 +0000 (15:44 +0100)
commit009cde17a527993b8bc45da831fe0643229a04ee
treec56b35157219fb7ad9b35134b2a0c413aee67b89
parent3d86af858ec081b2b385b6fd5af09e42ca825a96
block: Move bdrv_drain_all_end_quiesce() to block_int.h

This function is really an internal helper for bdrv_close(). Update its
doc comment to make this clear and make the function private.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <160387245480.131299.13430357162209598411.stgit@bahia>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
include/block/block.h
include/block/block_int.h