scsi-disk: fix bug in scsi_block_new_request() introduced by commit 137745c5
This patch fixes a bug in scsi_block_new_request() that was introduced by commit 137745c5. If the host cache is used - i.e. if BDRV_O_NOCACHE is _not_ set - the 'break' statement needs to be executed to 'fall back' to SG_IO. Cc: qemu-stable@nongnu.org Signed-off-by: NUlrich Obergfell <uobergfe@redhat.com> Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Showing