qcow2: Don't ignore immediate read/write failures
commit171e3d6b9997c98a97d0c525867f7cd9b640cadd
authorKevin Wolf <kwolf@redhat.com>
Tue, 6 Apr 2010 13:30:09 +0000 (6 15:30 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 9 Apr 2010 23:23:08 +0000 (10 01:23 +0200)
tree6a07c2b5d851647963c2280017f38aa8bc2b9508
parent7eb58a6c556c3880e6712cbf6d24d681261c5095
qcow2: Don't ignore immediate read/write failures

Returning -EIO is far from optimal, but at least it's an error code.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
block/qcow2.c