diff --git a/block/parallels.c b/block/parallels.c index 5100c8f903..3414807089 100644 --- a/block/parallels.c +++ b/block/parallels.c @@ -500,7 +500,7 @@ parallels_check_leak(BlockDriverState *bs, BdrvCheckResult *res, int64_t size; int ret; - size = bdrv_getlength(bs->file->bs); + size = bdrv_co_getlength(bs->file->bs); if (size < 0) { res->check_errors++; return size;