Update comment.
MFC after: 1 month
This commit is contained in:
parent
c2fe03ba67
commit
2ede2f9ae2
@ -692,7 +692,7 @@ sys_kqueue(struct thread *td, struct kqueue_args *uap)
|
|||||||
if (error)
|
if (error)
|
||||||
goto done2;
|
goto done2;
|
||||||
|
|
||||||
/* An extra reference on `nfp' has been held for us by falloc(). */
|
/* An extra reference on `fp' has been held for us by falloc(). */
|
||||||
kq = malloc(sizeof *kq, M_KQUEUE, M_WAITOK | M_ZERO);
|
kq = malloc(sizeof *kq, M_KQUEUE, M_WAITOK | M_ZERO);
|
||||||
mtx_init(&kq->kq_lock, "kqueue", NULL, MTX_DEF|MTX_DUPOK);
|
mtx_init(&kq->kq_lock, "kqueue", NULL, MTX_DEF|MTX_DUPOK);
|
||||||
TAILQ_INIT(&kq->kq_head);
|
TAILQ_INIT(&kq->kq_head);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user