]> git.ipfire.org Git - thirdparty/qemu.git/commit
quorum: Inline quorum_fifo_aio_cb()
authorKevin Wolf <kwolf@redhat.com>
Thu, 10 Nov 2016 16:40:34 +0000 (17:40 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 9 Jan 2017 12:30:52 +0000 (13:30 +0100)
commita7e159025ed439011a47d56af5f34729bbb7247c
tree9316c204fd846d731bb0df439781816c0672fc2c
parent6847da380805c46e21162dac3e4b4123399769d0
quorum: Inline quorum_fifo_aio_cb()

Inlining the function removes some boilerplace code and replaces
recursion by a simple loop, so the code becomes somewhat easier to
understand.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/quorum.c