summary refs log tree commit diff stats
path: root/include/qapi/string-input-visitor.h
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-06-01 09:52:23 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2016-06-07 14:40:51 +0100
commitc8a9fd80719e63615dac12e3625223fb54aa8430 (patch)
tree98ed133c8e23c47d3992a56ab934e1a870fc7ab5 /include/qapi/string-input-visitor.h
parent41574268b7e61ab98384ca7048f3fec862433401 (diff)
downloadfocaccia-qemu-c8a9fd80719e63615dac12e3625223fb54aa8430.tar.gz
focaccia-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 'include/qapi/string-input-visitor.h')
0 files changed, 0 insertions, 0 deletions