]> git.proxmox.com Git - mirror_qemu.git/commit
block/dirty-bitmap: add lock to bdrv_enable/disable_dirty_bitmap
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Mon, 11 Jun 2018 18:53:31 +0000 (14:53 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 11 Jun 2018 18:53:31 +0000 (14:53 -0400)
commit8b1402ce80d74dc02802f101a0f6c340462380d1
treebf7f9bbfdb812309eb48fb58d662e4ff5fda18ca
parentb133c27f5dc59969574b0715e5837d32c99caa86
block/dirty-bitmap: add lock to bdrv_enable/disable_dirty_bitmap

Add locks and remove comments about BQL accordingly to
dirty_bitmap_mutex definition in block_int.h.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Message-id: 20180606182449.1607-2-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
block/dirty-bitmap.c