git: kernel - Fix lockf panic

Matthew Dillon dillon at
Tue Aug 10 13:11:41 PDT 2010

commit 99acf5583a06c73dd13be3ac29f06a1ad8bd73ae
Author: Matthew Dillon <dillon at>
Date:   Tue Aug 10 13:09:10 2010 -0700

    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

Summary of changes:
 sys/kern/kern_lockf.c |   33 ++++++++++++++++++++++++---------
 1 files changed, 24 insertions(+), 9 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list