]> git.proxmox.com Git - mirror_qemu.git/blobdiff - block.c
target/xtensa: fix FPU2000 bugs
[mirror_qemu.git] / block.c
diff --git a/block.c b/block.c
index ac8b3a3511e9fdb49622c70708828a50aa81ae35..39f373e03500398458c62e80e584c46a14494abe 100644 (file)
--- a/block.c
+++ b/block.c
@@ -2066,7 +2066,7 @@ static void bdrv_replace_child_noperm(BdrvChild *child,
             }
             assert(num >= 0);
             for (i = 0; i < num; i++) {
-                child->role->drained_begin(child);
+                bdrv_parent_drained_begin_single(child, true);
             }
         }
 
@@ -3002,7 +3002,7 @@ BlockReopenQueue *bdrv_reopen_queue(BlockReopenQueue *bs_queue,
  *
  * Reopens all BDS specified in the queue, with the appropriate
  * flags.  All devices are prepared for reopen, and failure of any
- * device will cause all device changes to be abandonded, and intermediate
+ * device will cause all device changes to be abandoned, and intermediate
  * data cleaned up.
  *
  * If all devices prepare successfully, then the changes are committed