diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2007-04-04 09:11:34 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2007-04-04 09:11:34 +0000 |
| commit | 5e3f7694b189584ae30219566fcc6c4c3d059305 (patch) | |
| tree | 8805b4674ed3429ddf05f19fd5eb0813fb7884aa /sys/kern/kern_fork.c | |
| parent | f2f72fff6e246e95be9fea218268c6c609b6294b (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_fork.c')
| -rw-r--r-- | sys/kern/kern_fork.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index c783ea9aed0e..990f00373b58 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -458,9 +458,9 @@ again: * shared process leaders. */ fdtol = p1->p_fdtol; - FILEDESC_LOCK_FAST(p1->p_fd); + FILEDESC_XLOCK(p1->p_fd); fdtol->fdl_refcount++; - FILEDESC_UNLOCK_FAST(p1->p_fd); + FILEDESC_XUNLOCK(p1->p_fd); } else { /* * Shared file descriptor table, and |
