hv: don't schedule new works in vmbus_onoffer()/vmbus_onoffer_rescind()
authorDexuan Cui <decui@microsoft.com>
Fri, 27 Mar 2015 16:10:09 +0000 (09:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 14:18:02 +0000 (16:18 +0200)
commitd43e2fe7da320310834467a3fd87a10adb25a221
treee978c5e8f751ba913b29bcb1dacedbcb3d2a9dc6
parent652594c7dfd9bf6392e3a727bc69d89a2562d953
hv: don't schedule new works in vmbus_onoffer()/vmbus_onoffer_rescind()

Since the 2 fucntions can safely run in vmbus_connection.work_queue without
hang, we don't need to schedule new work items into the per-channel workqueue.

Actally we can even remove the per-channel workqueue now -- we'll do it
in the next patch.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c
drivers/hv/connection.c
drivers/hv/hyperv_vmbus.h