qemu/block
Kevin Wolf 205ef7961f block: Allow bdrv_flush to return errors
This changes bdrv_flush to return 0 on success and -errno in case of failure.
It's a requirement for implementing proper error handle in users of bdrv_flush.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2010-11-04 12:52:16 +01:00
..
blkdebug.c block: Allow bdrv_flush to return errors 2010-11-04 12:52:16 +01:00
blkverify.c block: Allow bdrv_flush to return errors 2010-11-04 12:52:16 +01:00
bochs.c bochs: use qemu block API 2010-05-17 10:20:05 +02:00
cloop.c cloop: use qemu block API 2010-05-17 10:20:04 +02:00
cow.c block: Allow bdrv_flush to return errors 2010-11-04 12:52:16 +01:00
curl.c Fix %lld or %llx printf format use 2010-05-22 08:02:12 +00:00
dmg.c dmg: use qemu block API 2010-05-17 10:20:05 +02:00
nbd.c nbd: correctly manage default port 2010-09-21 15:39:42 +02:00
parallels.c parallels: use qemu block API 2010-05-17 10:20:05 +02:00
qcow2-cluster.c qcow2: Support exact L1 table growth 2010-10-22 14:49:35 +02:00
qcow2-refcount.c block: avoid a write only variable 2010-10-13 18:38:07 +00:00
qcow2-snapshot.c Copy snapshots out of QCOW2 disk 2010-10-22 14:49:35 +02:00
qcow2.c block: Allow bdrv_flush to return errors 2010-11-04 12:52:16 +01:00
qcow2.h Copy snapshots out of QCOW2 disk 2010-10-22 14:49:35 +02:00
qcow.c block: Allow bdrv_flush to return errors 2010-11-04 12:52:16 +01:00
raw-posix-aio.h Remove aio_ctx from paio_* interface 2009-10-30 08:39:34 -05:00
raw-posix.c block: Allow bdrv_flush to return errors 2010-11-04 12:52:16 +01:00
raw-win32.c block: Allow bdrv_flush to return errors 2010-11-04 12:52:16 +01:00
raw.c block: Allow bdrv_flush to return errors 2010-11-04 12:52:16 +01:00
sheepdog.c sheepdog: remove unnecessary includes 2010-08-30 18:29:22 +02:00
vdi.c block: Allow bdrv_flush to return errors 2010-11-04 12:52:16 +01:00
vmdk.c block: Allow bdrv_flush to return errors 2010-11-04 12:52:16 +01:00
vpc.c vpc: Use bdrv_(p)write_sync for metadata writes 2010-06-22 14:38:02 +02:00
vvfat.c block/vvfat: Fix compiler warning in debug code 2010-10-03 06:40:54 +00:00