diff options
author | John Snow <jsnow@redhat.com> | 2015-04-17 19:50:02 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2015-04-28 15:36:10 +0200 |
commit | 20dca81075e712ebcbc151eed9b1a02d4e5d08f5 (patch) | |
tree | adb8d5b6b837be81ff0505fb5ab864a349876cbb /block/backup.c | |
parent | aa0c7ca506bb3f661be673b3d5c1320f37e52fdb (diff) | |
download | qemu-20dca81075e712ebcbc151eed9b1a02d4e5d08f5.zip qemu-20dca81075e712ebcbc151eed9b1a02d4e5d08f5.tar.gz qemu-20dca81075e712ebcbc151eed9b1a02d4e5d08f5.tar.bz2 |
block: Ensure consistent bitmap function prototypes
We often don't need the BlockDriverState for functions
that operate on bitmaps. Remove it.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1429314609-29776-15-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/backup.c')
-rw-r--r-- | block/backup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/backup.c b/block/backup.c index ddf9027..d3f648d 100644 --- a/block/backup.c +++ b/block/backup.c @@ -284,7 +284,7 @@ static int coroutine_fn backup_run_incremental(BackupBlockJob *job) granularity = bdrv_dirty_bitmap_granularity(job->sync_bitmap); clusters_per_iter = MAX((granularity / BACKUP_CLUSTER_SIZE), 1); - bdrv_dirty_iter_init(bs, job->sync_bitmap, &hbi); + bdrv_dirty_iter_init(job->sync_bitmap, &hbi); /* Find the next dirty sector(s) */ while ((sector = hbitmap_iter_next(&hbi)) != -1) { |