« Previous | Next » 

Revision f0f0fdfe

IDf0f0fdfeec6c67ad374114ecc4b3e3ccde5e94d2

Added by Kevin Wolf almost 11 years ago

block: Add return value for bdrv_flush_all()

bdrv_flush() can fail, and bdrv_flush_all() should return an error as
well if this happens for a block device. It returns the first error
return now, but still at least tries to flush the remaining devices even
in error cases.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences