qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] block/rbd: fix type of task->complete
@ 2021-07-07 18:04 Peter Lieven
  2021-07-07 18:04 ` [PATCH] MAINTAINERS: update block/rbd.c maintainer Peter Lieven
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Peter Lieven @ 2021-07-07 18:04 UTC (permalink / raw)
  To: qemu-block
  Cc: kwolf, idryomov, berrange, Peter Lieven, qemu-devel, ct, pbonzini,
	idryomov, mreitz, dillaman

task->complete is a bool not an integer.

Signed-off-by: Peter Lieven <pl@kamp.de>
---
 block/rbd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 }
 
-- 
2.17.1




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-07-08 12:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-07 18:04 [PATCH] block/rbd: fix type of task->complete Peter Lieven
2021-07-07 18:04 ` [PATCH] MAINTAINERS: update block/rbd.c maintainer Peter Lieven
2021-07-08 10:44   ` Ilya Dryomov
2021-07-08 12:06     ` Kevin Wolf
2021-07-07 21:51 ` [PATCH] block/rbd: fix type of task->complete Connor Kuehl
2021-07-08 10:00   ` Kevin Wolf
2021-07-08 10:41 ` Ilya Dryomov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).