Re: [Qemu-block] [PATCH v5 11/16] jobs: remove .exit callback

2018-09-06 Thread Jeff Cody
On Thu, Sep 06, 2018 at 09:02:20AM -0400, John Snow wrote: > Now that all of the jobs use the component finalization callbacks, > there's no use for the heavy-hammer .exit callback anymore. > > job_exit becomes a glorified type shim so that we can call > job_completed from

[Qemu-block] [PATCH v5 11/16] jobs: remove .exit callback

2018-09-06 Thread John Snow
Now that all of the jobs use the component finalization callbacks, there's no use for the heavy-hammer .exit callback anymore. job_exit becomes a glorified type shim so that we can call job_completed from aio_bh_schedule_oneshot. Move these three functions down into job.c to eliminate a forward