Re: [Qemu-block] [RFC PATCH 8/8] quorum: Inline quorum_fifo_aio_cb()

2016-11-18 Thread Alberto Garcia
On Thu 10 Nov 2016 06:19:09 PM CET, Kevin Wolf wrote: > 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 Reviewed-by: Alberto Garcia

[Qemu-block] [RFC PATCH 8/8] quorum: Inline quorum_fifo_aio_cb()

2016-11-10 Thread Kevin Wolf
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 --- block/quorum.c | 42 +- 1 file changed, 13 insertions(+), 29