Drivers: hv: util: On device remove, close the channel after de-initializing the...
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 28 Feb 2015 19:18:20 +0000 (11:18 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 03:31:02 +0000 (19:31 -0800)
commit5380b383ba10915e61e3db09341cf8193f0601ad
tree46553ab8ebd2dabedc09008de506bd9bc04fa021
parent5b1e5b530753e660080d402b81b88684893157d5
Drivers: hv: util: On device remove, close the channel after de-initializing the service

When the offer is rescinded, vmbus_close() can free up the channel;
deinitialize the service before closing the channel.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_util.c