diff options
| author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2020-11-06 15:42:39 +0300 |
|---|---|---|
| committer | Max Reitz <mreitz@redhat.com> | 2020-12-18 12:35:55 +0100 |
| commit | 74ad9a3b4da3bc2475c765d1926c655e9f8a0a20 (patch) | |
| tree | 52f5b18b627e150bc92dec52c03507ad766edc02 /scripts/simplebench/bench_write_req.py | |
| parent | bb87e4d1c0c34d55c6fdecaf20b6f9640498e1ad (diff) | |
| download | focaccia-qemu-74ad9a3b4da3bc2475c765d1926c655e9f8a0a20.tar.gz focaccia-qemu-74ad9a3b4da3bc2475c765d1926c655e9f8a0a20.zip | |
block: bdrv_set_perm() drop redundant parameters.
We should never set permissions other than cumulative permissions of parents. During bdrv_reopen_multiple() we _check_ for synthetic permissions but when we do _set_ the graph is already updated. Add an assertion to bdrv_reopen_multiple(), other cases are more obvious. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20201106124241.16950-6-vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/simplebench/bench_write_req.py')
0 files changed, 0 insertions, 0 deletions