Searched hist:"234 ac1a9025bcfcc532449f72a97b3d4754d466c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff 234ac1a9025bcfcc532449f72a97b3d4754d466c Thu Mar 02 11:43:00 CST 2017 Kevin Wolf <kwolf@redhat.com> 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>
|