aboutsummaryrefslogtreecommitdiff
path: root/block/crypto.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2020-12-11 21:39:23 +0300
committerEric Blake <eblake@redhat.com>2021-02-03 08:14:00 -0600
commit98ca45494fcd6bf0336ecd559e440b6de6ea4cd3 (patch)
tree2a96f3b35e08958d0289fd171d78a01e1f78c6ea /block/crypto.c
parentf0deecff827c838a71f83539b0572094aefe3d5e (diff)
downloadqemu-98ca45494fcd6bf0336ecd559e440b6de6ea4cd3.zip
qemu-98ca45494fcd6bf0336ecd559e440b6de6ea4cd3.tar.gz
qemu-98ca45494fcd6bf0336ecd559e440b6de6ea4cd3.tar.bz2
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 'block/crypto.c')
0 files changed, 0 insertions, 0 deletions