Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Hering <ohering@suse.de>2017-10-20 12:20:33 +0200
committerOlaf Hering <ohering@suse.de>2017-10-20 12:23:29 +0200
commita9f2de14699c2d9dbc5b53295ac3638a44934f75 (patch)
tree93f08e34cc984eccb247924e9c95a623ef833b7b
parent65e19feb8f07db78492dc7ce0fa4c71a65342949 (diff)
vmbus: don't acquire the mutex in
vmbus_hvsock_device_unregister() (fate#323887). suse-commit: 5ba079b582036f115765a7a0b1f8e4c7efee2df3
-rw-r--r--drivers/hv/channel_mgmt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index 060df71c2e8b..bcbb031f7263 100644
--- a/drivers/hv/channel_mgmt.c
+++ b/drivers/hv/channel_mgmt.c
@@ -936,14 +936,10 @@ static void vmbus_onoffer_rescind(struct vmbus_channel_message_header *hdr)
void vmbus_hvsock_device_unregister(struct vmbus_channel *channel)
{
- mutex_lock(&vmbus_connection.channel_mutex);
-
BUG_ON(!is_hvsock_channel(channel));
channel->rescind = true;
vmbus_device_unregister(channel->device_obj);
-
- mutex_unlock(&vmbus_connection.channel_mutex);
}
EXPORT_SYMBOL_GPL(vmbus_hvsock_device_unregister);