Skip to content
  • Christoph Hellwig's avatar
    ide: kill ide_dma_submit_check · c641483f
    Christoph Hellwig authored
    
    
    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: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    c641483f