summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorFam Zheng2016-06-01 03:52:23 +0200
committerStefan Hajnoczi2016-06-07 15:40:51 +0200
commitc8a9fd80719e63615dac12e3625223fb54aa8430 (patch)
tree98ed133c8e23c47d3992a56ab934e1a870fc7ab5 /util
parentblock: Move BlockRequest type to io.c (diff)
downloadqemu-c8a9fd80719e63615dac12e3625223fb54aa8430.tar.gz
qemu-c8a9fd80719e63615dac12e3625223fb54aa8430.tar.xz
qemu-c8a9fd80719e63615dac12e3625223fb54aa8430.zip
block: Drop bdrv_ioctl_bh_cb
Similar to the "!drv || !drv->bdrv_aio_ioctl" case above, here it is okay to set co.ret and return. As pointed out by Paolo, a BH will be created as necessary by the caller (bdrv_co_maybe_schedule_bh). Besides, as pointed out by Kevin, "data" was leaked before. Reported-by: Kevin Wolf <kwolf@redhat.com> Reported-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 20160601015223.19277-1-famz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions