diff options
| author | Kevin Wolf | 2018-05-16 13:46:37 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-05-23 14:30:51 +0200 |
| commit | b3b5299d58bce4366c647af40374e6b063f371eb (patch) | |
| tree | 75b11daff436035b154a25cbb4fb61908c47ca44 /blockdev.c | |
| parent | job: Move completion and cancellation to Job (diff) | |
| download | qemu-b3b5299d58bce4366c647af40374e6b063f371eb.tar.gz qemu-b3b5299d58bce4366c647af40374e6b063f371eb.tar.xz qemu-b3b5299d58bce4366c647af40374e6b063f371eb.zip | |
block: Cancel job in bdrv_close_all() callers
Now that we cancel all jobs and not only block jobs on shutdown, doing
that in bdrv_close_all() isn't really appropriate any more. Move the
job_cancel_sync_all() call to the callers, and only assert that there
are no job running in bdrv_close_all().
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
