From 64cc845bdb0908df247757ea864c1c72bf82b30c Mon Sep 17 00:00:00 2001 From: Peter Lieven Date: Wed, 7 Jul 2021 20:04:48 +0200 Subject: block/rbd: fix type of task->complete task->complete is a bool not an integer. Signed-off-by: Peter Lieven Message-Id: <20210707180449.32665-1-pl@kamp.de> Reviewed-by: Ilya Dryomov Signed-off-by: Kevin Wolf --- block/rbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block') diff --git a/block/rbd.c b/block/rbd.c index 01a7b94d62..dcf82b15b8 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -1066,7 +1066,7 @@ static int qemu_rbd_resize(BlockDriverState *bs, uint64_t size) static void qemu_rbd_finish_bh(void *opaque) { RBDTask *task = opaque; - task->complete = 1; + task->complete = true; aio_co_wake(task->co); } -- cgit v1.2.3