diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2015-02-28 11:18:17 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-01 19:31:02 -0800 |
commit | ed6cfcc5fdf2ebca320b6f74c836e555e18216e1 (patch) | |
tree | 004638600297de1f56cef2fc075ab1a7c8f52e26 /include/linux/hyperv.h | |
parent | d15a0301c4157884d1a48a5d76b9ac3e36d71242 (diff) | |
download | lwn-ed6cfcc5fdf2ebca320b6f74c836e555e18216e1.tar.gz lwn-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; |