diff options
| author | Christoph Hellwig | 2010-12-20 13:46:09 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2011-01-24 11:08:51 +0100 |
| commit | c641483fbe0aa08cd7c0580d019dc2d5a7e71138 (patch) | |
| tree | 5bd0704ad6002cf0c353606954afaad1cc4752eb /block | |
| parent | ide: also reset io_buffer_index for writes (diff) | |
| download | qemu-c641483fbe0aa08cd7c0580d019dc2d5a7e71138.tar.gz qemu-c641483fbe0aa08cd7c0580d019dc2d5a7e71138.tar.xz qemu-c641483fbe0aa08cd7c0580d019dc2d5a7e71138.zip | |
ide: kill ide_dma_submit_check
Merge ide_dma_submit_check into it's only caller. Also use tail recursion
using a goto instead of a real recursion - this avoid overflowing the
stack in the pathological situation of an recurring error that is ignored.
We'll still be busy looping in ide_dma_cb, but at least won't eat up
all stack space after this.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions
