commit | 357e836a609812ab28fb56df28555295191bd330 | [log] [tgz] |
---|---|---|
author | Vitaly Kuznetsov <vkuznets@redhat.com> | Wed May 06 17:47:44 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun May 24 12:19:00 2015 -0700 |
tree | 34d4ec7dfefb5e72d7a2d2ff4be391cde0863b34 | |
parent | fea844a2b0edd6540d5cde2cd54a8a3c86e9c53f [diff] |
Drivers: hv: vmbus: decrease num_sc on subchannel removal It is unlikely that that host will ask us to close only one subchannel for a device but let's be consistent. Do both num_sc++ and num_sc-- with channel->lock to be on the safe side. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>