hyperv/vmbus: Utilize vmbus_chan_run_task()
MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8686
This commit is contained in:
parent
e94965d82e
commit
98cb13b6cc
@ -772,8 +772,7 @@ vmbus_chan_clear_chmap(struct vmbus_channel *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
|
||||
|
Loading…
x
Reference in New Issue
Block a user