Return to kern_descrip.c CVS log | Up to [cvs.NetBSD.org] / src / sys / kern |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.206, 2010/09/01 15:15:18 | version 1.207, 2010/10/29 15:32:23 | ||
---|---|---|---|
|
|
||
{ | { | ||
filedesc_t *fdp = l->l_fd; | filedesc_t *fdp = l->l_fd; | ||
KASSERT(fdp == curlwp->l_fd || fdp == lwp0.l_fd); | |||
atomic_inc_uint(&fdp->fd_refcnt); | atomic_inc_uint(&fdp->fd_refcnt); | ||
} | } | ||