diff options
| author | John Snow | 2015-04-18 01:50:02 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2015-04-28 15:36:10 +0200 |
| commit | 20dca81075e712ebcbc151eed9b1a02d4e5d08f5 (patch) | |
| tree | adb8d5b6b837be81ff0505fb5ab864a349876cbb /blockdev.c | |
| parent | block: add BdrvDirtyBitmap documentation (diff) | |
| download | qemu-20dca81075e712ebcbc151eed9b1a02d4e5d08f5.tar.gz qemu-20dca81075e712ebcbc151eed9b1a02d4e5d08f5.tar.xz qemu-20dca81075e712ebcbc151eed9b1a02d4e5d08f5.zip | |
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 'blockdev.c')
| -rw-r--r-- | blockdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blockdev.c b/blockdev.c index 5905946f0b..5eaf77e599 100644 --- a/blockdev.c +++ b/blockdev.c @@ -2072,7 +2072,7 @@ void qmp_block_dirty_bitmap_remove(const char *node, const char *name, name); goto out; } - bdrv_dirty_bitmap_make_anon(bs, bitmap); + bdrv_dirty_bitmap_make_anon(bitmap); bdrv_release_dirty_bitmap(bs, bitmap); out: |
