block/dirty-bitmap: add bdrv_dirty_bitmap_get
Add a public interface for get. While we're at it, rename "bdrv_get_dirty_bitmap_locked" to "bdrv_dirty_bitmap_get_locked". (There are more functions to rename to the bdrv_dirty_bitmap_VERB form, but they will wait until the conclusion of this series.) Signed-off-by:John Snow <jsnow@redhat.com> Reviewed-by:
Max Reitz <mreitz@redhat.com> Message-id: 20190709232550.10724-11-jsnow@redhat.com Signed-off-by:
John Snow <jsnow@redhat.com>
Showing
- block/dirty-bitmap.c 12 additions, 7 deletionsblock/dirty-bitmap.c
- block/mirror.c 1 addition, 1 deletionblock/mirror.c
- include/block/dirty-bitmap.h 2 additions, 2 deletionsinclude/block/dirty-bitmap.h
- migration/block.c 2 additions, 3 deletionsmigration/block.c
- nbd/server.c 1 addition, 1 deletionnbd/server.c
Loading
Please register or sign in to comment