]> git.proxmox.com Git - mirror_qemu.git/commit - block.c
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>
Tue, 26 Jan 2010 20:59:19 +0000 (14:59 -0600)
commit9a8c4cceaf670193270995b95378faa3867db999
treeed6a799347ee28c03692a54c60ce8c7d62c809be
parent148da7ea9d66bad0d5b6512074fbedc4e2640e8f
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>
block.c