mbox series

[0/2] Fix nested permission update

Message ID 20201031123502.4558-1-vsementsov@virtuozzo.com (mailing list archive)
Headers show
Series Fix nested permission update | expand

Message

Vladimir Sementsov-Ogievskiy Oct. 31, 2020, 12:35 p.m. UTC
Hi! With help of some assertions (patch 2) I've found that
bdrv_drop_intermediate() do nested permission update which in my opinion
may lead to unpredictable behavior.

Vladimir Sementsov-Ogievskiy (2):
  block: make bdrv_drop_intermediate() less wrong
  block: assert that permission commit sets same permissions

 block.c | 47 ++++++++++++++++++++++++-----------------------
 1 file changed, 24 insertions(+), 23 deletions(-)