From: K. Y. Srinivasan Date: Wed, 27 Aug 2014 23:25:32 +0000 (-0700) Subject: Drivers: hv: vmbus: Cleanup vmbus_teardown_gpadl() X-Git-Tag: v3.2.65~146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e16dbba1cfe498d5029f664569227496a7b9fce;p=pandora-kernel.git Drivers: hv: vmbus: Cleanup vmbus_teardown_gpadl() commit 66be653083057358724d56d817e870e53fb81ca7 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: K. Y. Srinivasan Tested-by: Sitsofe Wheeler Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed