block/dirty-bitmap: add bdrv_dirty_bitmap_get
commit28636b8211c30e9b7ab05806a8824eabf377f307
authorJohn Snow <jsnow@redhat.com>
Mon, 29 Jul 2019 20:35:53 +0000 (29 16:35 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 16 Aug 2019 20:28:02 +0000 (16 16:28 -0400)
tree222052df2f06426b22f2396380de35b0527cffa6
parentb7661ca5d84a7d330acc3c3f471e757e55261f84
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>
block/dirty-bitmap.c
block/mirror.c
include/block/dirty-bitmap.h
migration/block.c
nbd/server.c