Pawel Jakub Dawidek c2cda60911 prison_free() can be called with a mutex held. This wasn't a problem until
I converted allprison_mtx mutex to allprison_lock sx lock. To fix this LOR,
move prison removal to prison_complete() entirely. To ensure that noone
will reference this prison before it's beeing removed from the list skip
prisons with 'pr_ref == 0' in prison_find() and assert that pr_ref has to
greater than 0 in prison_hold().

Reported by:	kris
OK'ed by:	rwatson
2007-04-08 10:46:23 +00:00
..
2007-04-02 18:38:13 +00:00
2007-04-07 13:37:45 +00:00
2007-03-21 03:42:51 +00:00
2007-04-05 13:43:00 +00:00
2007-04-07 02:52:13 +00:00
2007-04-06 18:15:03 +00:00
2007-03-27 19:36:12 +00:00
2006-11-28 19:33:28 +00:00
2007-03-10 03:10:34 +00:00
2007-04-04 07:29:53 +00:00