-
Kevin Wolf authored
job_completed() had a problem with double locking that was recently fixed independently by two different commits: "job: Fix nested aio_poll() hanging in job_txn_apply" "jobs: add exit shim" One fix removed the first aio_context_acquire(), the other fix removed the other one. Now we have a bug again and the code is run without any locking. Add it back in one of the places. Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Reviewed-by:
Max Reitz <mreitz@redhat.com>
Reviewed-by:
John Snow <jsnow@redhat.com>Kevin Wolf authoredjob_completed() had a problem with double locking that was recently fixed independently by two different commits: "job: Fix nested aio_poll() hanging in job_txn_apply" "jobs: add exit shim" One fix removed the first aio_context_acquire(), the other fix removed the other one. Now we have a bug again and the code is run without any locking. Add it back in one of the places. Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Reviewed-by:
Max Reitz <mreitz@redhat.com>
Reviewed-by:
John Snow <jsnow@redhat.com>
Loading