diff options
author | Denis V. Lunev | 2017-08-04 17:10:12 +0200 |
---|---|---|
committer | Kevin Wolf | 2017-08-08 15:19:16 +0200 |
commit | d8b83e37c381cf86ecd907301b7dcc65baaa0aea (patch) | |
tree | 06e7aee6e0864e40ae294f5914bc453cfaa74670 /include | |
parent | block: respect error code from bdrv_getlength in handle_aiocb_write_zeroes (diff) | |
download | qemu-d8b83e37c381cf86ecd907301b7dcc65baaa0aea.tar.gz qemu-d8b83e37c381cf86ecd907301b7dcc65baaa0aea.tar.xz qemu-d8b83e37c381cf86ecd907301b7dcc65baaa0aea.zip |
parallels: respect error code of bdrv_getlength() in allocate_clusters()
If we can not get the file length, the state of BDS is broken completely.
Return error to the caller.
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Markus Armbruster <armbru@redhat.com>
CC: Kevin Wolf <kwolf@redhat.com>
CC: Max Reitz <mreitz@redhat.com>
CC: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions