Commit 37bc0b98 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Jiri Slaby
Browse files

Drivers: hv: vmbus: Cleanup vmbus_teardown_gpadl()



commit 66be6530 upstream.

Eliminate calls to BUG_ON() by properly handling errors. In cases where
rollback is possible, we will return the appropriate error to have the
calling code decide how to rollback state. In the case where we are
transferring ownership of the guest physical pages to the host,
we will wait for the host to respond.

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Tested-by: default avatarSitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent 9c07ce2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment