Denis V. Lunev d8b83e37c3 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>
2017-08-08 15:19:16 +02:00
..
2017-07-14 09:36:40 +01:00
2017-07-11 17:44:57 +02:00
2017-07-14 09:36:40 +01:00
2017-08-08 15:19:16 +02:00
2017-07-25 16:33:31 +02:00
2017-07-17 11:34:11 +08:00
2017-07-17 11:34:11 +08:00
2017-07-14 09:36:40 +01:00
2017-07-17 11:34:20 +08:00
2017-07-17 11:34:20 +08:00
2017-07-17 11:28:15 +08:00