kernel - Remove incorrect assertion
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 14 Feb 2011 18:52:30 +0000 (10:52 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 14 Feb 2011 18:52:30 +0000 (10:52 -0800)
commit88072e3b65eef1b97cd0aa3eab2714a266ba89b3
tree4a2c9acb5deacacf2a2b1fb8848e325d0cc0637f
parent4c71602f2b281b65a7640e81245921fb153dc06f
kernel - Remove incorrect assertion

* Remove the assertion that p2->p_lock == 0 in fork().  Since p2 has already
  been added to allproc PHOLD/PRELEs can cause this field to become non-zero.

  This assertion was originally added when p_lock was moved out of the
  copy zone.  It is no longer applicable or correct.
sys/kern/kern_fork.c