summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-06-30 03:35:22 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-06-30 03:35:22 +0000
commitaa3cefd06cc228bd6268d98193d154a24372521c (patch)
tree7337f794ae5fb7d91f1c2895bcc001ea4843d57e /sys/kern/kern_fork.c
parent1af55356f8d2d34527644100818e547417fa0017 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_fork.c')
-rw-r--r--sys/kern/kern_fork.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index 1c5336c4b92a..dd3eb04e157a 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -408,7 +408,6 @@ again:
/*
* We start off holding one spinlock after fork: sched_lock.
*/
- p2->p_spinlocks = 1;
PROC_LOCK(p1);
crhold(p1->p_ucred);
p2->p_ucred = p1->p_ucred;