diff options
Diffstat (limited to 'blockjob.c')
-rw-r--r-- | blockjob.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/blockjob.c b/blockjob.c index 04416f11cd..36c5fdeb2f 100644 --- a/blockjob.c +++ b/blockjob.c @@ -359,6 +359,11 @@ static bool block_job_started(BlockJob *job) return job->co; } +const BlockJobDriver *block_job_driver(BlockJob *job) +{ + return job->driver; +} + /** * All jobs must allow a pause point before entering their job proper. This * ensures that jobs can be paused prior to being started, then resumed later. |