svn commit: r311372 - stable/11/sys/dev/hyperv/vmbus
Sepherosa Ziehau
sephe at FreeBSD.org
Thu Jan 5 06:15:15 UTC 2017
Author: sephe
Date: Thu Jan 5 06:15:14 2017
New Revision: 311372
URL: https://svnweb.freebsd.org/changeset/base/311372
Log:
MFC 309704
hyperv/vmbus: Utilize vmbus_chan_run_task()
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8686
Modified:
stable/11/sys/dev/hyperv/vmbus/vmbus_chan.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/hyperv/vmbus/vmbus_chan.c
==============================================================================
--- stable/11/sys/dev/hyperv/vmbus/vmbus_chan.c Thu Jan 5 06:11:53 2017 (r311371)
+++ stable/11/sys/dev/hyperv/vmbus/vmbus_chan.c Thu Jan 5 06:15:14 2017 (r311372)
@@ -772,8 +772,7 @@ vmbus_chan_clear_chmap(struct vmbus_chan
struct task chmap_task;
TASK_INIT(&chmap_task, 0, vmbus_chan_clrchmap_task, chan);
- taskqueue_enqueue(chan->ch_tq, &chmap_task);
- taskqueue_drain(chan->ch_tq, &chmap_task);
+ vmbus_chan_run_task(chan, &chmap_task);
}
static void
More information about the svn-src-stable
mailing list