]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-aio: Fix laio_submit error handling
authorKevin Wolf <kwolf@redhat.com>
Thu, 22 Sep 2011 12:21:30 +0000 (14:21 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 11 Oct 2011 07:41:47 +0000 (09:41 +0200)
commit449c184ed23c6238da7fcc8b965c8fcc865d72a9
tree3de875cff621745716291e503a9ab5787139c888
parent55b949c84761ade81ca93b2596ea45b09ad6d60a
linux-aio: Fix laio_submit error handling

The error handling order was in the wrong order, so that either the ACB would
be leaked or the counter would be decremented when it shouldn't.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
linux-aio.c