diff options
author | John Snow <jsnow@redhat.com> | 2018-10-29 16:23:16 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2018-10-29 16:23:16 -0400 |
commit | 283d7a04f2addcc51468635300208b60c19a0db3 (patch) | |
tree | c242fd2cf8d92d811cf40f5c871d980e1292fd0d /pc-bios | |
parent | 993edc0ce0c6f44deb8272a7a857e419417f5f84 (diff) |
block/dirty-bitmaps: fix merge permissions
In prior commits that made merge transactionable, we removed the
assertion that merge cannot operate on disabled bitmaps. In addition,
we want to make sure that we are prohibiting merges to "locked" bitmaps.
Use the new user_locked function to check.
Reported-by: Eric Blake <eblake@redhat.com>
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-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'pc-bios')
0 files changed, 0 insertions, 0 deletions