aboutsummaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-04-28 18:18:04 +0300
committerKevin Wolf <kwolf@redhat.com>2021-04-30 12:27:48 +0200
commitc20555e15fdb84172254dbbde393f07ee0f44af3 (patch)
treeb9289b22074ae8f296e647d0fe7182635376dc11 /monitor
parent2fe5ff56f130aa9b07ebcd749831cea31757c120 (diff)
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 'monitor')
0 files changed, 0 insertions, 0 deletions