Revision 205ef796
ID | 205ef7961f781496366e0a93a4ec621ad3724bd7 |
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>
Files
- added
- modified
- copied
- renamed
- deleted