aboutsummaryrefslogtreecommitdiff
path: root/include/block/aio.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2023-03-08 16:14:35 -0500
committerKevin Wolf <kwolf@redhat.com>2023-04-25 13:17:28 +0200
commite95200c1c524403e42e8712c7391a8acd5825656 (patch)
tree366df38a1a4f3bf3ff095ef566a6da914bd1784d /include/block/aio.h
parent04ae220dbcde7d06b04a5bbac856f29acc3777eb (diff)
block: add missing coroutine_fn to bdrv_sum_allocated_file_size()
Not a coroutine_fn, you say? static int64_t bdrv_sum_allocated_file_size(BlockDriverState *bs) { BdrvChild *child; int64_t child_size, sum = 0; QLIST_FOREACH(child, &bs->children, next) { if (child->role & (BDRV_CHILD_DATA | BDRV_CHILD_METADATA | BDRV_CHILD_FILTERED)) { child_size = bdrv_co_get_allocated_file_size(child->bs); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Well what do we have here?! I rest my case, your honor. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20230308211435.346375-1-stefanha@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block/aio.h')
0 files changed, 0 insertions, 0 deletions