diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-06-11 14:53:31 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2018-06-11 14:53:31 -0400 |
commit | b133c27f5dc59969574b0715e5837d32c99caa86 (patch) | |
tree | 688494a6ce095e1265f966f4e038e22edb0766ee /block/vhdx-log.c | |
parent | ab41fc4853cc0cf01ed4903ffe7c36e3768b538f (diff) |
block: simplify code around releasing bitmaps
QLIST_REMOVE does not require walking the list, and once the "bitmap"
argument is removed from bdrv_do_release_matching_dirty_bitmap_locked
the code simplifies a lot and it is worth inlining everything in the
callers of bdrv_do_release_matching_dirty_bitmap.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180326104037.6894-1-pbonzini@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'block/vhdx-log.c')
0 files changed, 0 insertions, 0 deletions