kernel - Fix lockf panic
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 10 Aug 2010 20:09:10 +0000 (13:09 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 10 Aug 2010 20:09:10 +0000 (13:09 -0700)
commit99acf5583a06c73dd13be3ac29f06a1ad8bd73ae
treea81d3f3dd17c106e5175b9dce2fe17b6c04f502c
parentb31f0f400d2faae486a8b75ede3dd7164f3568cb
kernel - Fix lockf panic

* Fix a case where the F_UNLCK call made by closef()/fdrop() could fail
  on a resource limit, preventing the locks from being properly cleared.
  This resulted in an assertion panic at exit1().

* Minor cleanups.

Reported-by: swildner
sys/kern/kern_lockf.c