-
Kevin Wolf authored
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>Kevin Wolf authoredInstead 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>
Loading