Pawel Jakub Dawidek 52710de1cb Fix a panic possibility caused by returning without releasing locks.
It was fixed by moving problemetic checks, as well as checks that
doesn't need locking before locks are acquired.

Submitted by:		Ryan Sommers <ryans@gamersimpact.com>
In co-operation with:	cperciva, maxim, mlaier, sam
Tested by:		submitter (previous patch), me (current patch)
Reviewed by:		cperciva, mlaier (previous patch), sam (current patch)
Approved by:		sam
Dedicated to:		enough!
2004-04-04 20:14:55 +00:00
..
2004-04-04 05:24:13 +00:00
2004-02-21 21:32:15 +00:00
2004-01-25 17:18:12 +00:00
2004-03-26 22:44:59 +00:00
2004-01-17 03:28:27 +00:00