aboutsummaryrefslogtreecommitdiff
path: root/include/block
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2022-08-17 10:37:36 +0200
committerKevin Wolf <kwolf@redhat.com>2022-09-30 18:43:44 +0200
commit131498f775ea18852992dc56441eba33de3fcde5 (patch)
tree7e7e593a14ce602c5df5dcc5da05d0c0b3d6c446 /include/block
parent006e1962449f8ea9f0822b838d9fdf13c98eb147 (diff)
downloadqemu-131498f775ea18852992dc56441eba33de3fcde5.zip
qemu-131498f775ea18852992dc56441eba33de3fcde5.tar.gz
qemu-131498f775ea18852992dc56441eba33de3fcde5.tar.bz2
block: make serializing requests functions 'void'
Return codes of the following functions are never used in the code: * bdrv_wait_serialising_requests_locked * bdrv_wait_serialising_requests * bdrv_make_request_serialising Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Kevin Wolf <kwolf@redhat.com> CC: Hanna Reitz <hreitz@redhat.com> CC: Stefan Hajnoczi <stefanha@redhat.com> CC: Fam Zheng <fam@euphon.net> CC: Ronnie Sahlberg <ronniesahlberg@gmail.com> CC: Paolo Bonzini <pbonzini@redhat.com> CC: Peter Lieven <pl@kamp.de> CC: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Message-Id: <20220817083736.40981-3-den@openvz.org> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/block_int-io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/block_int-io.h b/include/block/block_int-io.h
index 91cdd61..4b0b3e1 100644
--- a/include/block/block_int-io.h
+++ b/include/block/block_int-io.h
@@ -73,7 +73,7 @@ static inline int coroutine_fn bdrv_co_pwrite(BdrvChild *child,
return bdrv_co_pwritev(child, offset, bytes, &qiov, flags);
}
-bool coroutine_fn bdrv_make_request_serialising(BdrvTrackedRequest *req,
+void coroutine_fn bdrv_make_request_serialising(BdrvTrackedRequest *req,
uint64_t align);
BdrvTrackedRequest *coroutine_fn bdrv_co_get_self_request(BlockDriverState *bs);