aboutsummaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-03-02 18:43:00 +0100
committerKevin Wolf <kwolf@redhat.com>2017-03-07 14:53:28 +0100
commit234ac1a9025bcfcc532449f72a97b3d4754d466c (patch)
tree3497b9e687a0575de82e3aeecd0d303c74b9b6ca /hmp-commands.hx
parent46181129eac9a56d9a948667282dd03d5015f096 (diff)
block: Handle permission errors in change_parent_backing_link()
Instead of just trying to change parents by parent over to reference @to instead of @from, and abort()ing whenever the permissions don't allow this, do proper permission checking beforehand and pass any error to the callers. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
0 files changed, 0 insertions, 0 deletions