I noticed this bug when reviewing Max's bdrv_close_all() series, so here goes the fix.
Fam Zheng (2): blockjob: Rename block_job_defer_to_main_loop blockjob: Fix hang in block_job_finish_sync block/backup.c | 2 +- block/commit.c | 2 +- block/mirror.c | 2 +- block/stream.c | 2 +- blockjob.c | 8 +++++--- include/block/blockjob.h | 14 +++++++++----- tests/test-blockjob-txn.c | 2 +- 7 files changed, 19 insertions(+), 13 deletions(-) -- 2.4.3