diff options
author | tanimura <tanimura@FreeBSD.org> | 2002-03-29 11:26:05 +0000 |
---|---|---|
committer | tanimura <tanimura@FreeBSD.org> | 2002-03-29 11:26:05 +0000 |
commit | 9ae6d1242c5a218cbb27f1a3ed8a9014412bbf80 (patch) | |
tree | d3b6c61dddfab884a7eb3c507182faa4d874302b /sys/kern/kern_descrip.c | |
parent | 84c21f1d8ff69f47f8e2bef01392d5b39cf9ce02 (diff) | |
download | FreeBSD-src-9ae6d1242c5a218cbb27f1a3ed8a9014412bbf80.zip FreeBSD-src-9ae6d1242c5a218cbb27f1a3ed8a9014412bbf80.tar.gz |
The description of fd_mtx is "filedesc structure."
Diffstat (limited to 'sys/kern/kern_descrip.c')
-rw-r--r-- | sys/kern/kern_descrip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index f866707..b97386d 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -1167,7 +1167,7 @@ fdinit(td) MALLOC(newfdp, struct filedesc0 *, sizeof(struct filedesc0), M_FILEDESC, M_WAITOK | M_ZERO); - mtx_init(&newfdp->fd_fd.fd_mtx, "filedesc structure", MTX_DEF); + mtx_init(&newfdp->fd_fd.fd_mtx, FILEDESC_LOCK_DESC, MTX_DEF); FILEDESC_LOCK(&newfdp->fd_fd); newfdp->fd_fd.fd_cdir = fdp->fd_cdir; if (newfdp->fd_fd.fd_cdir) @@ -1228,7 +1228,7 @@ fdcopy(td) bcopy(fdp, newfdp, sizeof(struct filedesc)); FILEDESC_UNLOCK(fdp); bzero(&newfdp->fd_mtx, sizeof(newfdp->fd_mtx)); - mtx_init(&newfdp->fd_mtx, "filedesc structure", MTX_DEF); + mtx_init(&newfdp->fd_mtx, FILEDESC_LOCK_DESC, MTX_DEF); if (newfdp->fd_cdir) VREF(newfdp->fd_cdir); if (newfdp->fd_rdir) |