]> git.proxmox.com Git - mirror_qemu.git/commit
qed: Remove recursion in qed_aio_next_io()
authorKevin Wolf <kwolf@redhat.com>
Fri, 18 Nov 2016 13:16:42 +0000 (14:16 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 26 Jun 2017 12:51:15 +0000 (14:51 +0200)
commit018598747c775394471ce4a341a1ce225a1738dc
tree80835d2954b2bccc696d961178640b1e567d4d58
parentdddf8db10b47d34d9d469ffe45e000170666ecdd
qed: Remove recursion in qed_aio_next_io()

Instead of calling itself recursively as the last thing, just convert
qed_aio_next_io() into a loop.

This patch is best reviewed with 'git show -w' because most of it is
just whitespace changes.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qed.c