diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2017-01-20 10:02:47 +0100 |
---|---|---|
committer | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2017-01-20 10:02:47 +0100 |
commit | d29c5b122215d6d3c09c434456db11cde072aa17 (patch) | |
tree | 2e9be17059cc3f4b6b4d5c14e3fc4f622c9e7e3f /drivers/hv | |
parent | d68d4dd048acf06eb6b7c03147feec2e886cd3c8 (diff) | |
parent | 75353ac8ff437322ca5520b28d9f9b4b41b39bd6 (diff) |
Merge tag 'v4.9.4' into linux-4.9.y-rt
This is the 4.9.4 stable release
Diffstat (limited to 'drivers/hv')
-rw-r--r-- | drivers/hv/channel_mgmt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index 96a85cd39580..1bc1d4795243 100644 --- a/drivers/hv/channel_mgmt.c +++ b/drivers/hv/channel_mgmt.c @@ -389,6 +389,7 @@ void vmbus_free_channels(void) { struct vmbus_channel *channel, *tmp; + mutex_lock(&vmbus_connection.channel_mutex); list_for_each_entry_safe(channel, tmp, &vmbus_connection.chn_list, listentry) { /* hv_process_channel_removal() needs this */ @@ -396,6 +397,7 @@ void vmbus_free_channels(void) vmbus_device_unregister(channel->device_obj); } + mutex_unlock(&vmbus_connection.channel_mutex); } /* |