diff options
author | Vladimir Sementsov-Ogievskiy | 2020-12-11 19:39:23 +0100 |
---|---|---|
committer | Eric Blake | 2021-02-03 15:14:00 +0100 |
commit | 98ca45494fcd6bf0336ecd559e440b6de6ea4cd3 (patch) | |
tree | 2a96f3b35e08958d0289fd171d78a01e1f78c6ea /include/block | |
parent | block/io: refactor bdrv_pad_request(): move bdrv_pad_request() up (diff) | |
download | qemu-98ca45494fcd6bf0336ecd559e440b6de6ea4cd3.tar.gz qemu-98ca45494fcd6bf0336ecd559e440b6de6ea4cd3.tar.xz qemu-98ca45494fcd6bf0336ecd559e440b6de6ea4cd3.zip |
block/io: bdrv_pad_request(): support qemu_iovec_init_extended failure
Make bdrv_pad_request() honest: return error if
qemu_iovec_init_extended() failed.
Update also bdrv_padding_destroy() to clean the structure for safety.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20201211183934.169161-6-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions