commit | 5614c188c65a8194ae499cb16400cab690a45299 | [log] [tgz] |
---|---|---|
author | Stefan Weil <weil@mail.berlios.de> | Sat Feb 19 22:18:12 2011 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Mar 15 13:21:14 2011 +0100 |
tree | 6c96dfc7e5a6dbea0aad3ce43a30134f66ef2b22 | |
parent | 40a892b78c9a620bc5ace4164dd566764c35cb53 [diff] |
block/qcow: Don't ignore immediate read/write and other failures This patch is similar to 171e3d6b9997c98a97d0c525867f7cd9b640cadd which fixed qcow2: Returning -EIO is far from optimal, but at least it's an error code. In addition to read/write failures, -EIO is also returned when decompress_cluster failed. Cc: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>