block/dirty-bitmaps: unify qmp_locked and user_locked calls
commit27a1b301a448a0426a96716484fc034b73c10c51
authorJohn Snow <jsnow@redhat.com>
Tue, 12 Mar 2019 16:05:48 +0000 (12 12:05 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 12 Mar 2019 16:05:48 +0000 (12 12:05 -0400)
treeaa3d545a9355cfd2a3c0a021566f9a045d5fece0
parent21d2376f264bcaa1692bd71ab1f99b9b0ff5afbf
block/dirty-bitmaps: unify qmp_locked and user_locked calls

These mean the same thing now. Unify them and rename the merged call
bdrv_dirty_bitmap_busy to indicate semantically what we are describing,
as well as help disambiguate from the various _locked and _unlocked
versions of bitmap helpers that refer to mutex locks.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20190223000614.13894-8-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
block/dirty-bitmap.c
blockdev.c
include/block/dirty-bitmap.h
migration/block-dirty-bitmap.c
nbd/server.c