diff options
author | K. Y. Srinivasan | 2015-02-28 20:18:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2015-03-02 04:31:02 +0100 |
commit | ed6cfcc5fdf2ebca320b6f74c836e555e18216e1 (patch) | |
tree | 004638600297de1f56cef2fc075ab1a7c8f52e26 /include/linux/hyperv.h | |
parent | Drivers: hv: vmbus: Properly handle child device remove (diff) | |
download | kernel-qcow2-linux-ed6cfcc5fdf2ebca320b6f74c836e555e18216e1.tar.gz kernel-qcow2-linux-ed6cfcc5fdf2ebca320b6f74c836e555e18216e1.tar.xz kernel-qcow2-linux-ed6cfcc5fdf2ebca320b6f74c836e555e18216e1.zip |
Drivers: hv: vmbus: Introduce a function to remove a rescinded offer
In response to a rescind message, we need to remove the channel and the
corresponding device. Cleanup this code path by factoring out the code
to remove a channel.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r-- | include/linux/hyperv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 7d976ac01fac..dd92a854c700 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -1226,6 +1226,7 @@ void hv_kvp_onchannelcallback(void *); int hv_vss_init(struct hv_util_service *); void hv_vss_deinit(void); void hv_vss_onchannelcallback(void *); +void hv_process_channel_removal(struct vmbus_channel *channel, u32 relid); extern struct resource hyperv_mmio; |