diff options
author | Dexuan Cui <decui@microsoft.com> | 2015-03-27 09:10:09 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 16:18:02 +0200 |
commit | d43e2fe7da320310834467a3fd87a10adb25a221 (patch) | |
tree | e978c5e8f751ba913b29bcb1dacedbcb3d2a9dc6 /drivers/hv/hyperv_vmbus.h | |
parent | 652594c7dfd9bf6392e3a727bc69d89a2562d953 (diff) | |
download | talos-op-linux-d43e2fe7da320310834467a3fd87a10adb25a221.tar.gz talos-op-linux-d43e2fe7da320310834467a3fd87a10adb25a221.zip |
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>
Diffstat (limited to 'drivers/hv/hyperv_vmbus.h')
-rw-r--r-- | drivers/hv/hyperv_vmbus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index f40a5a935ab6..887287ad411f 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h @@ -715,7 +715,7 @@ void vmbus_device_unregister(struct hv_device *device_obj); /* VmbusChildDeviceDestroy( */ /* struct hv_device *); */ -struct vmbus_channel *relid2channel(u32 relid, bool rescind); +struct vmbus_channel *relid2channel(u32 relid); void vmbus_free_channels(void); |