]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/block/aio-wait.h
aio-wait: avoid AioContext lock in aio_wait_bh_oneshot()
[mirror_qemu.git] / include / block / aio-wait.h
index 6e43e3b7bb28e86a50a4c2220b2a93c8b8f6965b..5449b6d7428df3e9604c880b630c6f0565bb1dc2 100644 (file)
@@ -131,7 +131,7 @@ void aio_wait_kick(void);
  *
  * Run a BH in @ctx and wait for it to complete.
  *
- * Must be called from the main loop thread with @ctx acquired exactly once.
+ * Must be called from the main loop thread without @ctx acquired.
  * Note that main loop event processing may occur.
  */
 void aio_wait_bh_oneshot(AioContext *ctx, QEMUBHFunc *cb, void *opaque);