diff options
author | Vladimir Sementsov-Ogievskiy | 2019-09-16 16:19:11 +0200 |
---|---|---|
committer | John Snow | 2019-10-17 23:02:32 +0200 |
commit | ef9041a7b8c46001c8c44eab3eac9920739d9b36 (patch) | |
tree | 5afd3323e74ae33289eefaab28ee47502987883a /include/block/block.h | |
parent | block/dirty-bitmap: drop BdrvDirtyBitmap.mutex (diff) | |
download | qemu-ef9041a7b8c46001c8c44eab3eac9920739d9b36.tar.gz qemu-ef9041a7b8c46001c8c44eab3eac9920739d9b36.tar.xz qemu-ef9041a7b8c46001c8c44eab3eac9920739d9b36.zip |
block/dirty-bitmap: refactor bdrv_dirty_bitmap_next
bdrv_dirty_bitmap_next is always used in same pattern. So, split it
into _next and _first, instead of combining two functions into one and
add FOR_EACH_DIRTY_BITMAP macro.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20190916141911.5255-5-vsementsov@virtuozzo.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/block/block.h')
0 files changed, 0 insertions, 0 deletions