diff options
Diffstat (limited to 'sys/kern/kern_descrip.c')
| -rw-r--r-- | sys/kern/kern_descrip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index 43cbe5c46859..acda3f3819b0 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -1209,7 +1209,7 @@ falloc(td, resultfp, resultfd) * descriptor to the list of open files at that point, otherwise * put it at the front of the list of open files. */ - fp->f_mtxp = mtx_pool_alloc(); + fp->f_mtxp = mtx_pool_alloc(mtxpool_sleep); fp->f_count = 1; fp->f_cred = crhold(td->td_ucred); fp->f_ops = &badfileops; |
