OSDN Git Service

mirror: Use BlockBackend for I/O
authorKevin Wolf <kwolf@redhat.com>
Tue, 12 Apr 2016 14:17:41 +0000 (16:17 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 25 May 2016 17:04:21 +0000 (19:04 +0200)
commite253f4b89796967d03a455d1df2ae6bda8cc7d01
tree72c947ad50353bdb1988407279703799e7df95ed
parentb8804815799eb8e924f015de6d1710cbd5b932ee
mirror: Use BlockBackend for I/O

This changes the mirror block job to use the job's BlockBackend for
performing its I/O. job->bs isn't used by the mirroring code any more
afterwards.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/mirror.c
blockdev.c