diff options
| author | Kevin Wolf | 2017-03-02 18:43:00 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2017-03-07 14:53:28 +0100 |
| commit | 234ac1a9025bcfcc532449f72a97b3d4754d466c (patch) | |
| tree | 3497b9e687a0575de82e3aeecd0d303c74b9b6ca /scripts/switch-timer-api | |
| parent | block: Ignore multiple children in bdrv_check_update_perm() (diff) | |
| download | qemu-234ac1a9025bcfcc532449f72a97b3d4754d466c.tar.gz qemu-234ac1a9025bcfcc532449f72a97b3d4754d466c.tar.xz qemu-234ac1a9025bcfcc532449f72a97b3d4754d466c.zip | |
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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
