]> git.proxmox.com Git - qemu.git/commit
block: Return original error codes in bdrv_pread/write
authorKevin Wolf <kwolf@redhat.com>
Wed, 20 Jan 2010 14:03:02 +0000 (15:03 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 27 Jan 2010 13:51:46 +0000 (07:51 -0600)
commitdbf45b44b7cf53e6f637e3a4d4a335666696404c
tree8ebed9aec51aa07cd828c70de4a1eb811b9929dd
parentd0d888bc6d1a106609b9af42ecb552c6c34a85c5
block: Return original error codes in bdrv_pread/write

Don't assume -EIO but return the real error.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit 9a8c4cceaf670193270995b95378faa3867db999)
block.c