Re: [Qemu-devel] [RFC v4 13/21] blockjobs: add commit, abort, clean helpers

2018-02-28 Thread Kevin Wolf
Am 24.02.2018 um 00:51 hat John Snow geschrieben: > The completed_single function is getting a little mucked up with > checking to see which callbacks exist, so let's factor them out. > > Signed-off-by: John Snow Reviewed-by: Kevin Wolf

Re: [Qemu-devel] [RFC v4 13/21] blockjobs: add commit, abort, clean helpers

2018-02-27 Thread Eric Blake
On 02/23/2018 05:51 PM, John Snow wrote: The completed_single function is getting a little mucked up with checking to see which callbacks exist, so let's factor them out. Signed-off-by: John Snow --- blockjob.c | 35 ++- 1 file changed, 26 insertions(+), 9 del

[Qemu-devel] [RFC v4 13/21] blockjobs: add commit, abort, clean helpers

2018-02-23 Thread John Snow
The completed_single function is getting a little mucked up with checking to see which callbacks exist, so let's factor them out. Signed-off-by: John Snow --- blockjob.c | 35 ++- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/blockjob.c b/blockjob