aio: tweak walking in dispatch phase
commitabf90d39213cca30e92f6d72452a05cbf29969b8
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Jan 2017 18:07:56 +0000 (12 19:07 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Jan 2017 13:25:18 +0000 (16 13:25 +0000)
tree116e46fcb7b847b922582d806e95a51b138cf638
parent56d2c3c60d92dc24690b2e93b5f6ec4716ea06fa
aio: tweak walking in dispatch phase

Preparing for the following patch, use QLIST_FOREACH_SAFE and
modify the placement of walking_handlers increment/decrement.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20170112180800.21085-7-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
aio-posix.c
aio-win32.c