summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2021-04-28 17:18:04 +0200
committerKevin Wolf2021-04-30 12:27:48 +0200
commitc20555e15fdb84172254dbbde393f07ee0f44af3 (patch)
treeb9289b22074ae8f296e647d0fe7182635376dc11 /include
parentblock: rename bdrv_replace_child_safe() to bdrv_replace_child() (diff)
downloadqemu-c20555e15fdb84172254dbbde393f07ee0f44af3.tar.gz
qemu-c20555e15fdb84172254dbbde393f07ee0f44af3.tar.xz
qemu-c20555e15fdb84172254dbbde393f07ee0f44af3.zip
block: refactor bdrv_node_check_perm()
Now, bdrv_node_check_perm() is called only with fresh cumulative permissions, so its actually "refresh_perm". Move permission calculation to the function. Also, drop unreachable error message and rewrite the remaining one to be more generic (as now we don't know which node is added and which was already here). Add also Virtuozzo copyright, as big work is done at this point. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20210428151804.439460-37-vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions