block/dirty-bitmaps: prohibit enable/disable on locked/frozen bitmaps
commitb053bb55738f35832f3d6472b12277a75c32a038
authorJohn Snow <jsnow@redhat.com>
Mon, 29 Oct 2018 20:23:16 +0000 (29 16:23 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 29 Oct 2018 20:23:16 +0000 (29 16:23 -0400)
treeb0c2f33c09e8d9d4efa384cc6945ca489b45f1f8
parent0be37c9e19f541643ef407bdafe0282b667ec23c
block/dirty-bitmaps: prohibit enable/disable on locked/frozen bitmaps

We're not being consistent about this. If it's in use by an operation,
the user should not be able to change the behavior of that bitmap.

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: 20181002230218.13949-5-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
blockdev.c