]> Git Repo - qemu.git/blobdiff - block.h
block: Allow bdrv_flush to return errors
[qemu.git] / block.h
diff --git a/block.h b/block.h
index a4facf2fa6ffe86e731cdf34d29f91c1ad134ce6..78ecfac34375199a0acdbeb7063706e12f077916 100644 (file)
--- a/block.h
+++ b/block.h
@@ -142,7 +142,7 @@ BlockDriverAIOCB *bdrv_aio_ioctl(BlockDriverState *bs,
         BlockDriverCompletionFunc *cb, void *opaque);
 
 /* Ensure contents are flushed to disk.  */
-void bdrv_flush(BlockDriverState *bs);
+int bdrv_flush(BlockDriverState *bs);
 void bdrv_flush_all(void);
 void bdrv_close_all(void);
 
This page took 0.02219 seconds and 4 git commands to generate.