- Use taskqueue_thread rather than taskqueue_swi since our task is going

to vrele, which may vop lock.  This is not safe in a software interrupt
   context.
This commit is contained in:
jeff 2005-04-05 08:51:45 +00:00
parent 2a0f491ada
commit 01f6ce3a70

View File

@ -283,7 +283,7 @@ prison_free(struct prison *pr)
mtx_unlock(&allprison_mtx);
TASK_INIT(&pr->pr_task, 0, prison_complete, pr);
taskqueue_enqueue(taskqueue_swi, &pr->pr_task);
taskqueue_enqueue(taskqueue_thread, &pr->pr_task);
return;
}
mtx_unlock(&pr->pr_mtx);