summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2020-12-11 19:39:23 +0100
committerEric Blake2021-02-03 15:14:00 +0100
commit98ca45494fcd6bf0336ecd559e440b6de6ea4cd3 (patch)
tree2a96f3b35e08958d0289fd171d78a01e1f78c6ea /include/block
parentblock/io: refactor bdrv_pad_request(): move bdrv_pad_request() up (diff)
downloadqemu-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